summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/identicurse/files/identicurse-gzipped_readme.patch')
-rw-r--r--net-misc/identicurse/files/identicurse-gzipped_readme.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/net-misc/identicurse/files/identicurse-gzipped_readme.patch b/net-misc/identicurse/files/identicurse-gzipped_readme.patch
new file mode 100644
index 000000000000..b4575ef07b97
--- /dev/null
+++ b/net-misc/identicurse/files/identicurse-gzipped_readme.patch
@@ -0,0 +1,15 @@
+Description: Point the online help to /usr/share/identicurse/README.
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612976
+Author: Alessio Treglia <alessio@debian.org>
+
+--- a/src/identicurse/tabbage.py
++++ b/src/identicurse/tabbage.py
+@@ -225,6 +225,8 @@ class Help(Tab):
+ def __init__(self, window, identicurse_path):
+ self.name = "Help"
+ self.path = os.path.join(identicurse_path, "README")
++ if not os.path.isfile(self.path):
++ self.path = '/usr/share/identicurse/README'
+ Tab.__init__(self, window)
+
+ def update(self):