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)..."
|
echo -ne "Installing ${LGREEN}$1${NC} from AUR ($2)..."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
se +e
|
||||||
quiet sudo -u nobody GOCACHE="$AUR_BUILD_DIR/go" makepkg --noconfirm
|
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
|
qpopd
|
||||||
rm -rf "$1"
|
rm -rf "$1"
|
||||||
qpopd
|
qpopd
|
||||||
echo "done"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
remove() {
|
remove() {
|
||||||
|
|
Loading…
Reference in New Issue