xbps-src-git: [INSTALL] use setcaps target.

This commit is contained in:
Juan RP 2012-02-27 22:12:03 +01:00
parent 653e6888ad
commit 5bffbb42f3
1 changed files with 1 additions and 3 deletions

View File

@ -1,8 +1,6 @@
case ${ACTION} in
post)
# Sets up required capabilities on helpers.
setcap cap_sys_admin=ep usr/libexec/xbps-src/capmount
setcap cap_sys_admin=ep usr/libexec/xbps-src/capumount
setcap cap_sys_chroot=ep usr/libexec/xbps-src/capchroot
xbps-src setcaps
;;
esac