Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=d30e0683106a24deee98064f6ff9577f333fd1c4
commit d30e0683106a24deee98064f6ff9577f333fd1c4 Author: crazy <[email protected]> Date: Tue Jan 30 19:39:17 2018 +0100 and same check for the fst user diff --git a/scripts/makepkg b/scripts/makepkg index ea22433..d6cde41 100755 --- a/scripts/makepkg +++ b/scripts/makepkg @@ -1187,10 +1187,11 @@ if [ "$CHROOT" = "1" -a "$INCHROOT" != "1" ]; then echo "fst:x:19:2::/var/tmp/fst:" >> $CHROOTDIR/etc/passwd fi # add fst to the ccache group if necessary - ## ehh FIXME: that's wrong as well mount for that is wrong -- crazy -- - if ! getent group ccache|grep -q fst; then - /usr/sbin/chroot $CHROOTDIR \ - /usr/sbin/usermod -a -G ccache fst + if [ "$NOCCACHE" = "0" -a -d /usr/lib/ccache/bin -a ! "`check_option NOCCACHE`" ]; then + if ! getent group ccache|grep -q fst; then + /usr/sbin/chroot $CHROOTDIR \ + /usr/sbin/usermod -a -G ccache fst + fi fi /usr/sbin/chroot $CHROOTDIR /usr/sbin/pwconv /usr/sbin/chroot $CHROOTDIR \ _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
