diff --git a/larbs.sh b/larbs.sh index 9bc137d..88cedcb 100644 --- a/larbs.sh +++ b/larbs.sh @@ -107,7 +107,7 @@ aurinstall() { \ pipinstall() { \ dialog --title "LARBS Installation" --infobox "Installing the Python package \`$1\` ($n of $total). $1 $2" 5 70 - command -v pip || installpkg python-pip >/dev/null 2>&1 + [ -x "$(command -v "pip")" ] || installpkg python-pip >/dev/null 2>&1 yes | pip install "$1" }