From 63717dcb73c79b1c613cff1e06c47bc6551312db Mon Sep 17 00:00:00 2001 From: anntnzrb Date: Fri, 6 Nov 2020 10:56:34 -0500 Subject: [PATCH] User-defined aliases/functions prevention --- larbs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }