Remove pipinstall

This commit is contained in:
Petar Kapriš 2025-04-20 21:19:57 +02:00
parent 6acedc25ac
commit 7a6febe2ef

8
bs.sh
View file

@ -204,13 +204,6 @@ aurinstall() {
sudo -u "$name" $aurhelper -S --noconfirm "$1" >/dev/null 2>&1
}
pipinstall() {
whiptail --title "LARBS Installation" \
--infobox "Installing the Python package \`$1\` ($n of $total). $1 $2" 9 70
[ -x "$(command -v "pip")" ] || installpkg python-pip >/dev/null 2>&1
yes | pip install "$1"
}
installationloop() {
([ -f "$progsfile" ] && cp "$progsfile" /tmp/progs.csv) ||
curl -Ls "$progsfile" | sed '/^#/d' >/tmp/progs.csv
@ -222,7 +215,6 @@ installationloop() {
comment="$(echo "$comment" | sed -E "s/(^\"|\"$)//g")"
case "$tag" in
"A") aurinstall "$program" "$comment" ;;
"P") pipinstall "$program" "$comment" ;; # Will likely remain unused
*) maininstall "$program" "$comment" ;;
esac
done </tmp/progs.csv