unicorn build workaround

This commit is contained in:
van Hauser 2019-07-25 09:07:35 +02:00
parent dfb3bd8e33
commit 6013d20aef

View File

@ -75,8 +75,13 @@ done
if ! which easy_install > /dev/null; then
echo "[-] Error: Python setup-tools not found. Run 'sudo apt-get install python-setuptools'."
exit 1
# work around for unusual installs
if [ '!' -e /usr/lib/python2.7/dist-packages/easy_install.py ]; then
echo "[-] Error: Python setup-tools not found. Run 'sudo apt-get install python-setuptools'."
exit 1
fi
fi