diff -r 428ee9cdf1b2 -r fb210a116f18 upgrade.sh --- a/upgrade.sh Sun Nov 13 20:19:40 2011 +0000 +++ b/upgrade.sh Sat Nov 26 17:28:59 2011 +0000 @@ -7,9 +7,6 @@ PATH=/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PREFIX=/usr/local -PF_CONFDIR=$(postconf -h config_directory) -PF_GID=$(id -g $(postconf -h mail_owner)) -POSTCONF=$(which postconf) DOVECOT_VERS=$(dovecot --version | awk '{print $1}') LOCALE_DIR=${PREFIX}/share/locale DOC_DIR=${PREFIX}/share/doc/vmm @@ -21,7 +18,6 @@ DOCS="ChangeLog COPYING NEWS INSTALL README" INSTALL_OPTS="-g 0 -o 0 -p" -INSTALL_OPTS_CF="-b -m 0640 -g ${PF_GID} -o 0 -p" if [ $(id -u) -ne 0 ]; then echo "Run this script as root." @@ -38,11 +34,17 @@ echo "please read the upgrade instructions at http://vmm.localdomain.org/" exit 1 elif [ $rv -ne 0 ]; then - echo "Sorry, something went wrong. Please file a bug:" - echo "https://sourceforge.net/tracker/?group_id=213727" + echo "Sorry, something went wrong. Please file a bug at:" + echo "https://bitbucket.org/pvo/vmm/issues" exit 1 fi +# remove old CamelCase files +if [ -f /tmp/vmm_inst_dir ] ; then + rm -rf `cat /tmp/vmm_inst_dir` + rm -f /tmp/vmm_inst_dir +fi + python setup.py -q install --force --prefix ${PREFIX} python setup.py clean --all >/dev/null