kmod: add back compat symlinks to /usr/sbin; there are some issues.

This commit is contained in:
Juan RP 2014-01-15 12:36:23 +01:00
parent 8e32c2c60c
commit e39ace289e

View File

@ -1,7 +1,7 @@
# Template file for 'kmod'
pkgname=kmod
version=16
revision=3
revision=4
build_style=gnu-configure
configure_args="--with-zlib --with-xz"
hostmakedepends="pkg-config libxslt"
@ -28,8 +28,9 @@ fi
post_install() {
vinstall ${FILESDIR}/depmod-search.conf 644 usr/lib/depmod.d search.conf
# Add compatibility symlinks.
vmkdir usr/sbin
for tool in {ls,ins,rm,dep}mod mod{info,probe}; do
ln -sfr ${DESTDIR}/usr/bin/kmod ${DESTDIR}/usr/bin/${tool}
ln -sfr ${DESTDIR}/usr/bin/kmod ${DESTDIR}/usr/sbin/${tool}
done
}