larbs

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit bab6a2824faa554bb8614521c08d598209aefbce
parent acd2757bf499a7b881960bf793ce9dd297f9278f
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Fri,  3 Aug 2018 02:29:22 -0400

only $2 necessary for dialog message

Diffstat:
Mlarbs.sh | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/larbs.sh b/larbs.sh @@ -72,7 +72,7 @@ adduserandpass() { \ gitmakeinstall() { dir=$(mktemp -d) - dialog --title "LARBS Installation" --infobox "Installing \`$(basename $1)\` ($n of $total) via \`git\` and \`make\`. $(basename $1) ${@:2}." 5 70 + dialog --title "LARBS Installation" --infobox "Installing \`$(basename $1)\` ($n of $total) via \`git\` and \`make\`. $(basename $1) $2." 5 70 git clone --depth 1 "$1" $dir &>/dev/null cd $dir make &>/dev/null @@ -80,12 +80,12 @@ gitmakeinstall() { cd /tmp ;} maininstall() { # Installs all needed programs from main repo. - dialog --title "LARBS Installation" --infobox "Installing \`$1\` ($n of $total). $1 ${@:2}." 5 70 + dialog --title "LARBS Installation" --infobox "Installing \`$1\` ($n of $total). $1 $2." 5 70 pacman --noconfirm --needed -S "$1" &>/dev/null } aurinstall() { \ - dialog --title "LARBS Installation" --infobox "Installing \`$1\` ($n of $total) from the AUR. $1 ${@:2}." 5 70 + dialog --title "LARBS Installation" --infobox "Installing \`$1\` ($n of $total) from the AUR. $1 $2." 5 70 grep "^$1$" <<< "$aurinstalled" && return sudo -u $name $aurhelper -S --noconfirm "$1" &>/dev/null }