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:
Juan RP
2009-03-12 11:16:08 +01:00
parent 37c27f7307
commit 53747489f0
8 changed files with 343 additions and 93 deletions

View File

@@ -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