summaryrefslogtreecommitdiff
path: root/static/thesiah.sh
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-26 13:07:37 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-26 13:07:37 +0900
commit18ca8f96cb7b1c2e08e7f619ff29133626d3f43e (patch)
tree1c4cc8b6c8c44360628d1a227581abb482f7e303 /static/thesiah.sh
parent8feeb607251d946b9c7857ad5c944638e9ffe362 (diff)
modified public/progs.csv, modified public/thesiah.sh, modified static/progs.csv, modified static/thesiah.sh
Diffstat (limited to 'static/thesiah.sh')
-rwxr-xr-xstatic/thesiah.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/static/thesiah.sh b/static/thesiah.sh
index 57d20e1..655af70 100755
--- a/static/thesiah.sh
+++ b/static/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