xbps-triggers: repair the dkms trigger.
This commit is contained in:
parent
884b35ad58
commit
212c61eff1
|
@ -18,12 +18,17 @@ PKGNAME="$3"
|
|||
VERSION="$4"
|
||||
UPDATE="$5"
|
||||
|
||||
DKMS=dkms
|
||||
|
||||
export PATH="usr/bin:usr/sbin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
|
||||
remove_modules()
|
||||
{
|
||||
if [ -x bin/dkms ]; then
|
||||
DKMS=bin/dkms
|
||||
elif [ -x sbin/dkms ]; then
|
||||
DKMS=sbin/dkms
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
||||
remove_modules() {
|
||||
local _modver _kver
|
||||
|
||||
# Remove the specified modules from all kernels.
|
||||
|
@ -47,8 +52,7 @@ remove_modules()
|
|||
done
|
||||
}
|
||||
|
||||
add_modules()
|
||||
{
|
||||
add_modules() {
|
||||
local rval=
|
||||
|
||||
# Add/build and install the specified modules for all kernels.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'xbps-triggers'
|
||||
pkgname=xbps-triggers
|
||||
version=0.96
|
||||
version=0.97
|
||||
revision=1
|
||||
noarch=yes
|
||||
bootstrap=yes
|
||||
|
|
Loading…
Reference in New Issue