diff options
author | Māris Vilks | 2021-02-14 17:58:50 +0200 |
---|---|---|
committer | Māris Vilks | 2021-02-14 17:58:50 +0200 |
commit | 2ea227909b34b0e0eec90ae9f3d45ed36d485090 (patch) | |
tree | 26ffe0cf7dd087982c70b4fd4c11255a042d0265 /eparakstitajs3.patch | |
parent | 1364f836ccce85e8e03e1d63bf89d3001a93c647 (diff) | |
download | aur-2ea227909b34b0e0eec90ae9f3d45ed36d485090.tar.gz |
Using different way to alter PATH for executable
Diffstat (limited to 'eparakstitajs3.patch')
-rw-r--r-- | eparakstitajs3.patch | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/eparakstitajs3.patch b/eparakstitajs3.patch index 5ec2116bde0d..d5aad56d2178 100644 --- a/eparakstitajs3.patch +++ b/eparakstitajs3.patch @@ -1,28 +1,28 @@ -diff --color --unified --recursive --text --color eparakstitajs3.orig/usr/share/applications/eparakstitajs3.desktop eparakstitajs3.new/usr/share/applications/eparakstitajs3.desktop ---- eparakstitajs3.orig/usr/share/applications/eparakstitajs3.desktop 2021-02-13 12:00:00.000000000 +0200 -+++ eparakstitajs3.new/usr/share/applications/eparakstitajs3.desktop 2021-02-14 16:03:48.412307112 +0200 +diff --color --unified --recursive --text --color src/eparakstitajs3.orig/usr/share/applications/eparakstitajs3.desktop src/eparakstitajs3.new/usr/share/applications/eparakstitajs3.desktop +--- src/eparakstitajs3.orig/usr/share/applications/eparakstitajs3.desktop 2021-02-13 12:00:00.000000000 +0200 ++++ src/eparakstitajs3.new/usr/share/applications/eparakstitajs3.desktop 2021-02-14 17:48:58.580140002 +0200 @@ -4,7 +4,7 @@ Icon=eparakstitajs3 Type=Application Categories=Application;Office;Viewer; -Exec=/opt/eparakstitajs3/eparakstitajs3 %F -+Exec=env PATH=/opt/eparakstitajs3:$PATH /opt/eparakstitajs3/eparakstitajs3 %F ++Exec=/bin/sh -c "export PATH=/opt/eparakstitajs3:$PATH; /opt/eparakstitajs3/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 eparakstitajs3.orig/usr/share/menu/eparakstitajs3 eparakstitajs3.new/usr/share/menu/eparakstitajs3 ---- eparakstitajs3.orig/usr/share/menu/eparakstitajs3 2021-02-13 12:00:00.000000000 +0200 -+++ eparakstitajs3.new/usr/share/menu/eparakstitajs3 2021-02-14 16:04:21.924916639 +0200 +diff --color --unified --recursive --text --color src/eparakstitajs3.orig/usr/share/menu/eparakstitajs3 src/eparakstitajs3.new/usr/share/menu/eparakstitajs3 +--- src/eparakstitajs3.orig/usr/share/menu/eparakstitajs3 2021-02-13 12:00:00.000000000 +0200 ++++ src/eparakstitajs3.new/usr/share/menu/eparakstitajs3 2021-02-14 17:49:28.566161954 +0200 @@ -1,5 +1,5 @@ ?package(eparakstitajs3):needs="X11" section="Applications/Viewers"\
- title="eParakstītājs 3.0" command="/opt/eparakstitajs3/eparakstitajs3"\
-+ title="eParakstītājs 3.0" command="env PATH=/opt/eparakstitajs3:$PATH /opt/eparakstitajs3/eparakstitajs3"\
++ title="eParakstītājs 3.0" command="/bin/sh -c \"export PATH=/opt/eparakstitajs3:$PATH; /opt/eparakstitajs3/eparakstitajs3\""\
hints="eParakstītājs 3.0"\
kderemove="y"\
icon="/usr/share/icons/hicolor/32x32/apps/eparakstitajs3.png"
-diff --color --unified --recursive --text --color eparakstitajs3.orig/usr/share/nautilus-python/extensions/eparakstitajs3-ctx-menu.py eparakstitajs3.new/usr/share/nautilus-python/extensions/eparakstitajs3-ctx-menu.py ---- eparakstitajs3.orig/usr/share/nautilus-python/extensions/eparakstitajs3-ctx-menu.py 2021-02-13 12:00:00.000000000 +0200 -+++ eparakstitajs3.new/usr/share/nautilus-python/extensions/eparakstitajs3-ctx-menu.py 2021-02-14 16:13:33.916358188 +0200 +diff --color --unified --recursive --text --color src/eparakstitajs3.orig/usr/share/nautilus-python/extensions/eparakstitajs3-ctx-menu.py src/eparakstitajs3.new/usr/share/nautilus-python/extensions/eparakstitajs3-ctx-menu.py +--- src/eparakstitajs3.orig/usr/share/nautilus-python/extensions/eparakstitajs3-ctx-menu.py 2021-02-13 12:00:00.000000000 +0200 ++++ src/eparakstitajs3.new/usr/share/nautilus-python/extensions/eparakstitajs3-ctx-menu.py 2021-02-14 16:13:33.916358188 +0200 @@ -1,7 +1,10 @@ from gi.repository import Nautilus, GObject import subprocess |