iproute2: don't leave dangling symlink in main package

This commit is contained in:
Đoàn Trần Công Danh 2020-10-29 22:40:16 +07:00
parent 987ffec789
commit 5a61877324

View file

@ -1,7 +1,7 @@
# Template file for 'iproute2'
pkgname=iproute2
version=5.9.0
revision=1
revision=2
build_style=configure
make_install_args="SBINDIR=/usr/bin"
hostmakedepends="pkg-config perl flex"
@ -35,6 +35,8 @@ post_install() {
iproute2-tc-ipt_package() {
short_desc+=" - tc(8) IPtables support"
pkg_install() {
# m_ipt.so is symlinked to m_xt.so
vmove usr/lib/tc/m_ipt.so
vmove usr/lib/tc/m_xt.so
}
}