mirror of
https://github.com/foxlet/macOS-Simple-KVM.git
synced 2024-11-23 03:29:41 +01: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() {
|
||||
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