1
0
mirror of https://github.com/foxlet/macOS-Simple-KVM.git synced 2024-06-02 06:03:31 +02:00

[TOOLS] Check for easy_install.

This commit is contained in:
Foxlet 2019-06-08 02:29:23 -04:00
parent 9b18ef2878
commit 731a0d1b55

View File

@ -8,7 +8,12 @@ SCRIPTDIR="$(dirname "$0")";
cd $SCRIPTDIR cd $SCRIPTDIR
initpip() { 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 pip install -r requirements.txt --user
} }