mirror of
https://github.com/foxlet/macOS-Simple-KVM
synced 2024-11-28 14:10:24 +00:00
[TOOLS] Check for easy_install.
This commit is contained in:
parent
9b18ef2878
commit
731a0d1b55
1 changed files with 6 additions and 1 deletions
|
@ -8,7 +8,12 @@ SCRIPTDIR="$(dirname "$0")";
|
|||
cd $SCRIPTDIR
|
||||
|
||||
initpip() {
|
||||
sudo easy_install pip
|
||||
if [ -x "$(command -v easy_install)" ]; then
|
||||
sudo easy_install pip
|
||||
else
|
||||
echo "Please install python3-pip or easy_install before continuing."
|
||||
exit 1;
|
||||
fi
|
||||
pip install -r requirements.txt --user
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue