summaryrefslogtreecommitdiff
blob: f559a512fbb44840648f944fe104568fad85e8bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- setup.py.orig	2005-05-26 20:18:53.000000000 +1000
+++ setup.py	2005-05-26 20:20:01.000000000 +1000
@@ -83,9 +83,9 @@
         install.finalize_options(self)
 
     def install_conf(self):
-        self.mkpath(self.conf_prefix)
+        self.mkpath(self.root + self.conf_prefix)
         for file in self.distribution.conf_files:
-            dest = self.conf_prefix + "/" + os.path.basename(file)
+            dest = self.root + self.conf_prefix + "/" + os.path.basename(file)
             if os.path.exists(dest):
                 dest += "-dist"
             self.copy_file(file, dest)
--- setup.py.orig	2005-05-26 20:30:56.000000000 +1000
+++ setup.py	2005-05-26 20:32:48.000000000 +1000
@@ -108,8 +108,8 @@
                     "share/prewikka/htdocs",
                     "share/prewikka/htdocs/images", "share/prewikka/htdocs/js", "share/prewikka/htdocs/css",
                     "share/prewikka/database", "share/prewikka/cgi-bin"):
-            os.chmod(self.prefix + "/" + dir, 0755)
-        os.chmod(self.conf_prefix, 0755)
+            os.chmod(self.root + self.prefix + "/" + dir, 0755)
+        os.chmod(self.root + self.conf_prefix, 0755)
         
         if not self.dry_run:
             for filename in self.get_outputs():