--- orig/scripts/makepkg +++ mod/scripts/makepkg @@ -408,6 +408,7 @@ export FAKEROOTKEY=$FAKEROOTKEY2 unset FAKEROOTKEY2 fi + exit $? else error "a package has already been built. (use -f to overwrite)" exit 1 @@ -828,6 +829,7 @@ export FAKEROOTKEY=$FAKEROOTKEY2 unset FAKEROOTKEY2 fi + exit $? fi exit 0