User-defined aliases/functions prevention
This commit is contained in:
parent
8d01c333ed
commit
63717dcb73
2
larbs.sh
2
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"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user