add makepkg patch
This commit is contained in:
parent
dc91f8dae4
commit
492b582f7d
2 changed files with 15 additions and 0 deletions
|
@ -2,4 +2,8 @@
|
|||
|
||||
set -e
|
||||
|
||||
patch /usr/bin/makepkg < makepkg.patch
|
||||
|
||||
puppet apply manifests/main.pp --modulepath=modules/ --verbose
|
||||
|
||||
patch /usr/bin/makepkg -R < makepkg.patch
|
||||
|
|
11
makepkg.patch
Normal file
11
makepkg.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- /usr/bin/makepkg 2017-07-04 10:29:39.000000000 +0100
|
||||
+++ makepkg.bak 2017-08-10 09:30:02.882437815 +0100
|
||||
@@ -2127,7 +2127,7 @@ if (( ! INFAKEROOT )); then
|
||||
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 1 # $E_USER_ABORT
|
||||
+ # exit 1 # $E_USER_ABORT
|
||||
fi
|
||||
else
|
||||
if [[ -z $FAKEROOTKEY ]]; then
|
Loading…
Reference in a new issue