summaryrefslogtreecommitdiff
path: root/roles/tools/files/gio_unwrapper.sh
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-26 22:57:25 +0100
committerIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-26 22:57:25 +0100
commit386f9271125f93651cb20420de696efab8798fa9 (patch)
tree1b01de15af3bb8c50290087606aa1251420a769a /roles/tools/files/gio_unwrapper.sh
parentd512a906fcdbca34791beab9946f9f505fbe60a1 (diff)
downloadAnsible-386f9271125f93651cb20420de696efab8798fa9.tar.gz
Ansible-386f9271125f93651cb20420de696efab8798fa9.tar.zst
Ansible-386f9271125f93651cb20420de696efab8798fa9.zip
Some fixes
- Firefox creates desktop dir unless a trailing / is added to XDG_DESKTOP_DIR - LESS options - evince option - bashrc is loaded twice - add gundo for vim
Diffstat (limited to 'roles/tools/files/gio_unwrapper.sh')
-rwxr-xr-xroles/tools/files/gio_unwrapper.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/tools/files/gio_unwrapper.sh b/roles/tools/files/gio_unwrapper.sh
index 5629b28..59886d6 100755
--- a/roles/tools/files/gio_unwrapper.sh
+++ b/roles/tools/files/gio_unwrapper.sh
@@ -13,7 +13,7 @@
13# environments) 13# environments)
14 14
15if [ -n "$GIO_LAUNCHED_DESKTOP_FILE" ]; then 15if [ -n "$GIO_LAUNCHED_DESKTOP_FILE" ]; then
16 while [ -n "$1" -a "${1:0:1}" != "/" -a ! -f "$1" ]; do 16 while [ -n "$1" -a "${1:0:1}" != "/" -a "${1:0:7}" != "file://" -a ! -f "$1" ]; do
17 shift 17 shift
18 done 18 done
19 xdg-open "$1" 19 xdg-open "$1"