CC-3357: Upgrade script to 2.0.2 doesn't work

- It was deleting /user/lib/airtime after it installs virtualenv. rm comand is
ran before anything.
This commit is contained in:
james 2012-02-24 21:00:59 -05:00
parent a253635f7e
commit 73a91e6982
2 changed files with 1 additions and 3 deletions

View file

@ -155,9 +155,8 @@ export python_service=$?
set -e
echo -e "\n******************************** Install Begin *********************************"
rm -rf "/usr/lib/airtime"
if [ "$python_service" -eq "0" ]; then
rm -rf "/usr/lib/airtime"
$AIRTIMEROOT/python_apps/python-virtualenv/virtualenv-install.sh
virtualenv_bin="/usr/lib/airtime/airtime_virtualenv/bin/"