blob: 8da3fb04e0d80df3d68ba3ae180f311f1d27020c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- makepkg.orig 2016-04-22 15:35:51.860386914 +0000
+++ makepkg 2016-04-22 15:39:19.543784899 +0000
@@ -1917,7 +1917,7 @@
'help' 'holdver' 'ignorearch' 'install' 'key:' 'log' 'noarchive' 'nobuild'
'nocolor' 'nocheck' 'nodeps' 'noextract' 'noprepare' 'nosign' 'packagelist'
'printsrcinfo' 'repackage' 'rmdeps' 'sign' 'skipchecksums' 'skipinteg'
- 'skippgpcheck' 'source' 'syncdeps' 'verifysource' 'version')
+ 'skippgpcheck' 'source' 'syncdeps' 'verifysource' 'version' 'asroot')
# Pacman Options
OPT_LONG+=('asdeps' 'noconfirm' 'needed' 'noprogressbar')
@@ -2114,9 +2114,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
+ :
fi
else
if [[ -z $FAKEROOTKEY ]]; then
|