User-defined aliases/functions prevention

This commit is contained in:
anntnzrb 2020-11-06 10:56:34 -05:00
parent 8d01c333ed
commit 63717dcb73

View File

@ -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"
}