Add a trigger to (un)register shells from /etc/shells.

--HG--
extra : convert_revision : 6f82e9b19f880b388d5e800e1d159f4f3287ab26
This commit is contained in:
Juan RP
2009-03-14 07:32:01 +01:00
parent fdffaf481b
commit c2228d084b
2 changed files with 62 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
# Template file for 'xbps-base-dirs'
pkgname=xbps-base-dirs
version=0.4
version=0.5
build_style=custom-install
short_desc="xbps base system directories"
maintainer="Juan RP <xtraeme@gmail.com>"
@@ -51,7 +51,8 @@ do_install()
cd $DESTDIR/usr && ln -s lib lib64
fi
for f in $(find $XBPS_TRIGGERSDIR -type f -perm 755); do
install -D -m 755 $f $DESTDIR/var/db/xbps/triggers/$(basename $f)
for f in info-files initramfs-tools register-shell; do
install -D -m 755 $XBPS_TRIGGERSDIR/$f \
$DESTDIR/var/db/xbps/triggers/$(basename $f)
done
}