kmod: create a sbin/modprobe symlink for now until the usr/bin move is complete.

This commit is contained in:
Juan RP 2015-06-02 09:50:50 +02:00
parent f906fd4d75
commit e94a30c84e
2 changed files with 8 additions and 1 deletions

7
srcpkgs/kmod/INSTALL Normal file
View file

@ -0,0 +1,7 @@
case "$ACTION" in
post)
if [ -d usr/sbin -a ! -L /usr/sbin ]; then
ln -sf ../bin/kmod usr/sbin/modprobe
fi
;;
esac

View file

@ -1,7 +1,7 @@
# Template file for 'kmod'
pkgname=kmod
version=20
revision=2
revision=3
build_style=gnu-configure
configure_args="--with-zlib --with-xz"
hostmakedepends="pkg-config"