aboutsummaryrefslogtreecommitdiff
path: root/deskutils/hamster-applet/files/patch-hamster___init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/hamster-applet/files/patch-hamster___init__.py')
-rw-r--r--deskutils/hamster-applet/files/patch-hamster___init__.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/deskutils/hamster-applet/files/patch-hamster___init__.py b/deskutils/hamster-applet/files/patch-hamster___init__.py
new file mode 100644
index 000000000000..a277063e0211
--- /dev/null
+++ b/deskutils/hamster-applet/files/patch-hamster___init__.py
@@ -0,0 +1,10 @@
+--- hamster/__init__.py.orig 2008-08-07 10:53:47.000000000 -0400
++++ hamster/__init__.py 2008-08-07 10:54:01.000000000 -0400
+@@ -74,6 +74,7 @@ if not exists(USER_HAMSTER_DIR):
+ if not exists(HAMSTER_DB):
+ print "Database not found in %s - installing default from %s!" % (HAMSTER_DB, SHARED_DATA_DIR)
+ copyfile(join(SHARED_DATA_DIR, DB_FILE), HAMSTER_DB)
++ os.chmod(HAMSTER_DB, 0644)
+
+ # Init storage
+