1
0
Fork 0
mirror of https://github.com/foxlet/macOS-Simple-KVM.git synced 2024-12-24 02:39:44 +01: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
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
}