]> git.pld-linux.org Git - packages/gaphor.git/commitdiff
- hardcode datadir... stupid, but works. i don't know better way to do it
authorundefine <undefine@pld-linux.org>
Sat, 28 Aug 2004 00:04:09 +0000 (00:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gaphor-datadir.patch -> 1.1

gaphor-datadir.patch [new file with mode: 0644]

diff --git a/gaphor-datadir.patch b/gaphor-datadir.patch
new file mode 100644 (file)
index 0000000..8200d23
--- /dev/null
@@ -0,0 +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')
+         f.write('VERSION=\'%s\'\n' % VERSION)
+-        f.write('DATA_DIR=\'%s\'\n' % data_dir)
++        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')
This page took 0.075897 seconds and 4 git commands to generate.