CC-2889: Virtualenv fails when installing through apt repo on Ubuntu Server 10.04

-removed sync commands
This commit is contained in:
martin 2011-09-27 15:28:00 -04:00
parent cb2f4b5c70
commit 6672c712ca

View file

@ -7,11 +7,6 @@ if [ `whoami` != 'root' ]; then
exit 1 exit 1
fi fi
#Sync to force flushing all buffered writes to the disk. We need to do this because
#sometimes packages that have been installed by a script before this one are
#not yet available to call.
sync
set +e set +e
DEB=$(dpkg -s airtime 2> /dev/null | grep Status) DEB=$(dpkg -s airtime 2> /dev/null | grep Status)
set -e set -e
@ -64,9 +59,6 @@ else
echo -e "\n*** Existing Airtime Virtualenv Found ***" echo -e "\n*** Existing Airtime Virtualenv Found ***"
fi fi
#Another sync to flush buffered writes to disk.
sync
virtualenv_bin="/usr/lib/airtime/airtime_virtualenv/bin/" virtualenv_bin="/usr/lib/airtime/airtime_virtualenv/bin/"
. ${virtualenv_bin}activate . ${virtualenv_bin}activate