--- a/update_config.py Sun Nov 13 20:19:40 2011 +0000
+++ b/update_config.py Sat Nov 26 17:28:59 2011 +0000
@@ -8,7 +8,18 @@
from time import time
from ConfigParser import ConfigParser
from shutil import copy2
-from VirtualMailManager.constants.VERSION import VERSION
+try:
+ from VirtualMailManager.constants.VERSION import VERSION
+except ImportError:
+ os.sys.stderr.write('error: no pre 0.6.0 version information found\n')
+ raise SystemExit(2)
+
+# we have to remove the old CamelCase files
+import VirtualMailManager
+vmm_inst_dir = os.path.dirname(VirtualMailManager.__file__)
+tmp_info = open('/tmp/vmm_inst_dir', 'w')
+tmp_info.write(vmm_inst_dir)
+tmp_info.close()
try:
import psycopg2