From 6acedc25ac7fc285b3abaf4d73c25240e9a9294b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petar=20Kapri=C5=A1?= Date: Sun, 20 Apr 2025 21:19:26 +0200 Subject: [PATCH] Remove gitmakeinstall --- bs.sh | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/bs.sh b/bs.sh index 1a672cb..b3f32e5 100644 --- a/bs.sh +++ b/bs.sh @@ -197,24 +197,6 @@ maininstall() { installpkg "$1" } -gitmakeinstall() { - progname="${1##*/}" - progname="${progname%.git}" - dir="$repodir/$progname" - whiptail --title "LARBS Installation" \ - --infobox "Installing \`$progname\` ($n of $total) via \`git\` and \`make\`. $(basename "$1") $2" 8 70 - sudo -u "$name" git -C "$repodir" clone --depth 1 --single-branch \ - --no-tags -q "$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 - cd /tmp || return 1 -} - aurinstall() { whiptail --title "LARBS Installation" \ --infobox "Installing \`$1\` ($n of $total) from the AUR. $1 $2" 9 70 @@ -240,7 +222,6 @@ installationloop() { comment="$(echo "$comment" | sed -E "s/(^\"|\"$)//g")" case "$tag" in "A") aurinstall "$program" "$comment" ;; - "G") gitmakeinstall "$program" "$comment" ;; "P") pipinstall "$program" "$comment" ;; # Will likely remain unused *) maininstall "$program" "$comment" ;; esac