kmod: fix absolute paths in INSTALL/REMOVE scripts

This commit is contained in:
maxice8 2018-08-26 16:21:13 -03:00
parent af2bdf37c3
commit 2495bbba79
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B
2 changed files with 2 additions and 2 deletions

View file

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

View file

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