Author: Olivier Sallou <olivier.sallou@irisa.fr>
Description: Change the Mobyle path in generated path to fit to Debian paths
Last-Update: 2011-08-09
--- a/setup.py
+++ b/setup.py
@@ -148,9 +148,9 @@ def fix_script(src, dst, mob, htm):
         if not l: 
             break
         if mob and l == 'MOBYLEHOME = None\n':
-            l = l.replace('None', "'"+mob+"'", 1)
+            l = l.replace('None', "'debian/mobyle/usr/share/mobyle/core'", 1)
         if htm and l == 'MOBYLEHTDOCS = None\n':
-            l = l.replace('None', "'"+htm+"'", 1)
+            l = l.replace('None', "'debian/mobyle/usr/share/mobyle/htdocs'", 1)
         g.write(l)
     g.close()
     f.close()
