Implemented support for running triggers with binpkgs.
Also the following changes were made: * Added an info-files trigger, to (un)register info files. * xbps-base-dirs: it's responsible to install triggers on destdir. --HG-- extra : convert_revision : 8d707053616f38d2b5beef7cf28e1bc4a66812b8
This commit is contained in:
@@ -1,12 +1,7 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
export PATH="/bin:/sbin:/usr/bin:/usr/sbin"
|
||||
|
||||
# $1 = chrootdir
|
||||
# $2 = action
|
||||
# $3 = pkgname
|
||||
# $4 = version
|
||||
|
||||
#
|
||||
# This scripts creates the initramfs for the newly installed
|
||||
# kernel package.
|
||||
#
|
||||
case "$2" in
|
||||
pre)
|
||||
;;
|
||||
@@ -39,5 +34,3 @@ post)
|
||||
${umntsys_cmd}
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user