mirror of
https://github.com/moparisthebest/pacman
synced 2025-03-07 20:59:41 -05:00
added patch from VMiklos - fixes ownership problems when building in a chroot w/ fakeroot
This commit is contained in:
parent
83fca950bc
commit
597c4b3d98
@ -133,7 +133,7 @@ handledeps() {
|
||||
fi
|
||||
sudo pacman -D $deplist
|
||||
if [ "$INFAKEROOT" = "1" ]; then
|
||||
FAKEROOTKEY=$FAKEROOTKEY2
|
||||
export FAKEROOTKEY=$FAKEROOTKEY2
|
||||
unset FAKEROOTKEY2
|
||||
fi
|
||||
if [ "$?" = "127" ]; then
|
||||
@ -738,7 +738,7 @@ elif [ "$RMDEPS" = "1" -a "$DEP_SUDO" = "1" ]; then
|
||||
fi
|
||||
sudo pacman -R $makedeplist $deplist
|
||||
if [ "$INFAKEROOT" = "1" ]; then
|
||||
FAKEROOTKEY=$FAKEROOTKEY2
|
||||
export FAKEROOTKEY=$FAKEROOTKEY2
|
||||
unset FAKEROOTKEY2
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user