Non-fatal errors for packages
This commit is contained in:
parent
47bc14af53
commit
679a8b7a2b
|
@ -198,12 +198,20 @@ install_aur() {
|
|||
echo -ne "Installing ${LGREEN}$1${NC} from AUR ($2)..."
|
||||
fi
|
||||
|
||||
se +e
|
||||
quiet sudo -u nobody GOCACHE="$AUR_BUILD_DIR/go" makepkg --noconfirm
|
||||
quiet pacman -U --noconfirm $1*.pkg.tar*
|
||||
if [ $? -eq 0 ]; then
|
||||
set +e
|
||||
quiet pacman -U --noconfirm $1*.pkg.tar*
|
||||
echo "done"
|
||||
else
|
||||
echo "failed"
|
||||
fi
|
||||
set +e
|
||||
|
||||
qpopd
|
||||
rm -rf "$1"
|
||||
qpopd
|
||||
echo "done"
|
||||
}
|
||||
|
||||
remove() {
|
||||
|
|
Loading…
Reference in New Issue