diff --git a/larbs.sh b/larbs.sh index ec69669..caefffe 100644 --- a/larbs.sh +++ b/larbs.sh @@ -81,7 +81,7 @@ manualinstall() { # Installs $1 manually if not installed. Used only for AUR hel curl -sO https://aur.archlinux.org/cgit/aur.git/snapshot/"$1".tar.gz && sudo -u "$name" tar -xvf "$1".tar.gz >/dev/null 2>&1 && cd "$1" && - sudo -u "$name" makepkg --noconfirm -si >/dev/null 2>&1 + sudo -u "$name" makepkg --noconfirm -si >/dev/null 2>&1 || return 1 cd /tmp || return 1) ;} maininstall() { # Installs all needed programs from main repo.