]> git.pld-linux.org Git - packages/gaphor.git/commitdiff
- up for ver. 0.8.0
authorwrobell <wrobell@pld-linux.org>
Wed, 1 Feb 2006 17:50:23 +0000 (17:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gaphor-datadir.patch -> 1.2

gaphor-datadir.patch

index 8200d23470a0b93036ed66849a3ad821f648b96d..e50615860dbd383da96453a631e1669f2b9761f2 100644 (file)
@@ -1,11 +1,11 @@
---- setup.py~  2004-08-28 01:46:35.000000000 +0200
-+++ setup.py   2004-08-28 01:49:14.000000000 +0200
-@@ -145,7 +145,7 @@
-         self.mkpath(os.path.dirname(outfile))
-         f = open(outfile, 'w')
+--- setup.py.orig      2006-02-01 17:47:44.000000000 +0000
++++ setup.py   2006-02-01 17:48:01.000000000 +0000
+@@ -152,7 +152,7 @@
+         f.write('import os\n')
          f.write('VERSION=\'%s\'\n' % VERSION)
--        f.write('DATA_DIR=\'%s\'\n' % data_dir)
+         # expand backspaces
+-        f.write('DATA_DIR=\'%s\'\n' % data_dir.replace('\\', '\\\\'))
 +        f.write('DATA_DIR=\'/usr/share/gaphor\'\n')
-         f.write('import os\n')
-         f.write('USER_DATA_DIR=os.getenv(\'HOME\') + \'.gaphor\'\n')
-         f.write('del os\n')
+         if os.name == 'nt':
+             home = 'USERPROFILE'
+         else:
This page took 0.057063 seconds and 4 git commands to generate.