dotfiles/makepkg.patch

20 lines
633 B
Diff
Raw Normal View History

2018-06-19 09:24:50 +01:00
*** /usr/bin/makepkg 2018-05-29 09:10:22.097063834 +0100
--- /usr/bin/makepkg.orig 2018-05-29 09:08:25.916705962 +0100
***************
*** 1403,1409 ****
if (( EUID == 0 )); then
error "$(gettext "Running %s as root is not allowed as it can cause permanent,\n\
catastrophic damage to your system.")" "makepkg"
! # exit $E_ROOT
fi
else
if [[ -z $FAKEROOTKEY ]]; then
--- 1403,1409 ----
if (( EUID == 0 )); then
error "$(gettext "Running %s as root is not allowed as it can cause permanent,\n\
catastrophic damage to your system.")" "makepkg"
! exit $E_ROOT
fi
else
if [[ -z $FAKEROOTKEY ]]; then