xbps-triggers: kernel-hooks: run hooks relative to pwd.

This commit is contained in:
Juan RP 2011-10-17 16:42:00 +02:00
parent 3dd3840f3a
commit 8989dda729
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ run)
done done
# Execute kernel hooks for the specified target. # Execute kernel hooks for the specified target.
for _file_ in /etc/kernel.d/${TARGET}/*; do for _file_ in etc/kernel.d/${TARGET}/*; do
[ ! -x "${_file_}" ] && continue [ ! -x "${_file_}" ] && continue
echo "Executing ${TARGET} kernel hook: $(basename ${_file_}) ..." echo "Executing ${TARGET} kernel hook: $(basename ${_file_}) ..."

View file

@ -1,6 +1,6 @@
# Template file for 'xbps-triggers' # Template file for 'xbps-triggers'
pkgname=xbps-triggers pkgname=xbps-triggers
version=0.23 version=0.24
build_style=custom-install build_style=custom-install
short_desc="XBPS triggers" short_desc="XBPS triggers"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"