From 8f62521383f6c76871b9fb32e8cceeb43e9d3239 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Tue, 28 Jun 2022 09:41:32 -0400 Subject: [PATCH] lol --- larbs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/larbs.sh b/larbs.sh index 664c28e..b581fb7 100755 --- a/larbs.sh +++ b/larbs.sh @@ -98,7 +98,7 @@ manualinstall() { # Installs $1 manually. Used only for AUR helper here. dialog --infobox "Installing \"$1\", an AUR helper..." 4 50 sudo -u "$name" mkdir -p "$repodir/$1" sudo -u "$name" gitclonefast "https://aur.archlinux.org/$1.git" "$repodir/$1" \ - || { cd "$repodir/$1" || return 1 ; sudo -u "$name" git pull --force origin master;} + || { cd "$repodir/$1" || return 1 ; sudo -u "$name" git pull --force origin master ;} cd "$repodir/$1" || exit 1 sudo -u "$name" -D "$repodir/$1" makepkg --noconfirm -si >/dev/null 2>&1 || return 1 } @@ -112,7 +112,7 @@ gitmakeinstall() { progname="$(basename "$1" .git)" dir="$repodir/$progname" dialog --title "LARBS Installation" --infobox "Installing \`$progname\` ($n of $total) via \`git\` and \`make\`. $(basename "$1") $2" 5 70 - sudo -u "$name" gitclonefast "$1" "$dir" || { cd "$dir" || return 1 ; sudo -u "$name" git pull --force origin master;} + sudo -u "$name" gitclonefast "$1" "$dir" || { cd "$dir" || return 1 ; sudo -u "$name" git pull --force origin master ;} cd "$dir" || exit 1 make >/dev/null 2>&1 make install >/dev/null 2>&1