summaryrefslogtreecommitdiff
path: root/public/thesiah.sh
diff options
context:
space:
mode:
Diffstat (limited to 'public/thesiah.sh')
-rwxr-xr-xpublic/thesiah.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/public/thesiah.sh b/public/thesiah.sh
index 57d20e1..655af70 100755
--- a/public/thesiah.sh
+++ b/public/thesiah.sh
@@ -213,8 +213,14 @@ pipinstall() {
whiptail --title "SI 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" >/dev/null 2>&1
+}
+
+pipxinstall() {
+ whiptail --title "SI Installation" \
+ --infobox "Installing the Python package \`$1\` ($n of $total). $1 $2" 9 70
[ -x "$(command -v "pipx")" ] || installpkg python-pipx >/dev/null 2>&1
- yes | pip install "$1" >/dev/null 2>&1 || yes | pipx install "$1" >/dev/null 2>&1
+ yes | pipx install "$1" >/dev/null 2>&1
}
# runit
@@ -244,6 +250,7 @@ installationloop() {
;;
"G") gitmakeinstall "$program" "$comment" ;;
"P") pipinstall "$program" "$comment" ;;
+ "X") pipxinstall "$program" "$comment" ;;
*) maininstall "$program" "$comment" ;;
esac
done </tmp/progs.csv