]> git.pld-linux.org Git - packages/gaphor.git/blobdiff - gaphor-datadir.patch
- hardcode datadir... stupid, but works. i don't know better way to do it
[packages/gaphor.git] / gaphor-datadir.patch
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.062107 seconds and 4 git commands to generate.