Commit 8b9cfea1 authored by Georges Khaznadar's avatar Georges Khaznadar

updated the paths to documentation

parent 8153d3e5
#! /usr/bin/python
#! /usr/bin/python3
import sys, os, os.path
from subprocess import call
......@@ -19,7 +19,7 @@ elif lc_all and lc_all[0:2] != preferred:
if len(sys.argv)>1:
preferred=sys.argv[1]
filename=os.path.join('/usr/share/expeyes/doc', preferred+'-'+pdfTail)
filename=os.path.join('/usr/share/eyes17/doc', preferred, pdfTail)
if not os.path.exists(filename):
filename=os.path.join('/usr/share/expeyes/doc', 'en-'+pdfTail)
filename=os.path.join('/usr/share/eyes17/doc/en', pdfTail)
call('evince '+filename, shell=True)
Index: expeyes/bin/eyes17-doc
===================================================================
--- expeyes.orig/bin/eyes17-doc
+++ expeyes/bin/eyes17-doc
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/python3
import sys, os, os.path
from subprocess import call
@@ -19,7 +19,7 @@ elif lc_all and lc_all[0:2] != preferred
if len(sys.argv)>1:
preferred=sys.argv[1]
-filename=os.path.join('/usr/share/expeyes/doc', preferred+'-'+pdfTail)
+filename=os.path.join('/usr/share/eyes17/doc', preferred, pdfTail)
if not os.path.exists(filename):
- filename=os.path.join('/usr/share/expeyes/doc', 'en-'+pdfTail)
+ filename=os.path.join('/usr/share/eyes17/doc/en', pdfTail)
call('evince '+filename, shell=True)
eyes17-doc.patch
l10n.patch
udev-rules.patch
coding-utf8.patch
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment