From 42547f6155074fde651b0a1289060ca302da4683 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Thu, 24 Jun 2021 20:36:25 -0400 Subject: [PATCH] fix #361 --- larbs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.