index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Eli Schwartz <eschwartz@archlinux.org> | 2019-01-04 00:26:28 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-01-10 13:25:12 +1000 |
commit | 238fa4af4507c573ae4d478d1d7e176429d2c5c5 (patch) | |
tree | e379db681eda89649788c9d0e23b14e887cfae0f | |
parent | 268b0255fa2dd6ccef2e4fa08859c7966002e15a (diff) |
-rw-r--r-- | scripts/libmakepkg/executable/fakeroot.sh.in | 2 |
diff --git a/scripts/libmakepkg/executable/fakeroot.sh.in b/scripts/libmakepkg/executable/fakeroot.sh.in index 56c1b3fd..09064543 100644 --- a/scripts/libmakepkg/executable/fakeroot.sh.in +++ b/scripts/libmakepkg/executable/fakeroot.sh.in @@ -28,7 +28,7 @@ source "$LIBRARY/util/option.sh" executable_functions+=('executable_fakeroot') executable_fakeroot() { - if check_buildenv "fakeroot" "y" && (( EUID > 0 )); then + if (( SOURCEONLY || BUILDPKG )); then if ! type -p fakeroot >/dev/null; then error "$(gettext "Cannot find the %s binary.")" "fakeroot" return 1 |