blob: 4c321a8958350654dbfe0b9a7c8fb6cf9f2732d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
diff --color --unified --recursive --text --color usr/share/applications/eparakstitajs3.desktop.orig usr/share/applications/eparakstitajs3.desktop
--- usr/share/applications/eparakstitajs3.desktop.orig 2022-07-07 10:17:17.342286524 +0300
+++ usr/share/applications/eparakstitajs3.desktop 2022-07-07 10:18:26.850828336 +0300
@@ -4,7 +4,7 @@
Icon=/usr/share/eparakstitajs3/eparakstitajs3.xpm
Type=Application
Categories=Application;Viewer;
-Exec=/usr/bin/eparakstitajs3 %F
+Exec=/bin/sh -c "export PATH=/usr/lib/eparakstitajs3/bin:$PATH; /usr/bin/eparakstitajs3 %F"
MimeType=application/pdf;application/lv.eme.edoc;application/vnd.etsi.asic-e+zip;
StartupWMClass=lv.euso.signanywhere.SignAnywhere
diff --color --unified --recursive --text --color usr/share/nautilus-python/extensions/eparakstitajs3-ctx-menu.py.orig usr/share/nautilus-python/extensions/eparakstitajs3-ctx-menu.py
--- usr/share/nautilus-python/extensions/eparakstitajs3-ctx-menu.py.orig 2022-07-07 10:18:32.064051467 +0300
+++ usr/share/nautilus-python/extensions/eparakstitajs3-ctx-menu.py 2022-07-07 10:46:57.945442317 +0300
@@ -11,11 +11,14 @@
def open_eparakstitajs(self, menu, command, files):
#print "menu_activate_cb", command
- bash_string=["eparakstitajs3", command]
+ bash_string = ["/usr/bin/eparakstitajs3", command]
for file in files:
bash_string.append(file.get_location().get_path())
- subprocess.Popen(bash_string)
-
+ modified_env = os.environ.copy()
+ modified_env['PATH'] = '/usr/lib/eparakstitajs3/bin:' + \
+ modified_env['PATH']
+ subprocess.Popen(bash_string, env=modified_env)
+
def dir_count(self, files):
dirCount = 0
for file in files:
|