From ca32fd7aef9cca9422da227b31cd9463bbef7660 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 27 Dec 2014 07:56:45 +1100 Subject: [PATCH] Remove --asroot This option is no longer supported by packan 4.2 --- packer | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packer b/packer index 94e5c35..2574cbc 100644 --- a/packer +++ b/packer @@ -328,11 +328,7 @@ aurinstall() { # Installation (makepkg and pacman) rm -f *$PKGEXT - if [[ $UID -eq 0 ]]; then - makepkg $MAKEPKGOPTS --asroot -f - else - makepkg $MAKEPKGOPTS -f - fi + makepkg $MAKEPKGOPTS -f [[ $? -ne 0 ]] && echo "The build failed." && return 1 pkgtarfiles=""