From 18ca8f96cb7b1c2e08e7f619ff29133626d3f43e Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sun, 26 Jan 2025 13:07:37 +0900 Subject: modified public/progs.csv, modified public/thesiah.sh, modified static/progs.csv, modified static/thesiah.sh --- static/thesiah.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'static/thesiah.sh') 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