summarylogtreecommitdiffstats
path: root/placedb.patch
diff options
context:
space:
mode:
Diffstat (limited to 'placedb.patch')
-rw-r--r--placedb.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/placedb.patch b/placedb.patch
deleted file mode 100644
index 18c77ec3d643..000000000000
--- a/placedb.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- placedb.orig 2013-01-06 12:48:31.576937271 +0100
-+++ placedb2.py 2013-01-06 12:53:06.693886827 +0100
-@@ -1,6 +1,6 @@
- import os
- import pickle
--
-+import shutil
-
- class PlaceDB:
-
-@@ -23,7 +23,10 @@
- self.alt = alt
-
-
-- FILENAME = os.path.join('Res', 'placedb.dat')
-+ ORIG_FILENAME = os.path.join('Res', 'placedb.dat')
-+ FILENAME = os.path.join(os.path.expanduser('~/.config/morinus'), 'placedb.dat')
-+ if not os.path.exists(FILENAME):
-+ shutil.copyfile(os.path.join("/usr/lib/python2.7/site-packages/morinus", ORIG_FILENAME), FILENAME)
-
- def __init__(self):
- self.placedb = []