SHA256
1
0
forked from pool/gswrap

Allow option files as well

OBS-URL: https://build.opensuse.org/package/show/Printing/gswrap?expand=0&rev=10
This commit is contained in:
Dr. Werner Fink 2020-05-20 15:29:54 +00:00 committed by Git OBS Bridge
parent 3341fed640
commit a5ec83e75f
2 changed files with 15 additions and 1 deletions

11
gswrap
View File

@ -118,6 +118,10 @@ do
esac
continue
;;
@*)
opts[o++]="--ro-bind ${arg#@} $home/${arg#@}"
continue
;;
-*)
continue
;;
@ -181,7 +185,12 @@ then
done
done
done
opts[o++]="--ro-bind /tmp/.X11-unix /tmp/.X11-unix"
# for x11 in /tmp/.X11-unix /tmp/.XIM-unix /tmp/.ICE-unix /tmp/.font-unix /tmp/.X${DISPLAY##*:}-lock
for x11 in /tmp/.X11-unix
do
test -e "${x11}" || continue
opts[o++]="--ro-bind ${x11} ${x11}"
done
opts[o++]="--ro-bind ${XAUTHORITY+"$XAUTHORITY"} $home/.Xauthority"
opts[o++]="--setenv XAUTHORITY $home/.Xauthority"
opts[o++]="--setenv DISPLAY ${DISPLAY+"$DISPLAY"}"

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 20 15:29:06 UTC 2020 - Dr. Werner Fink <werner@suse.de>
- Allow option files as well
-------------------------------------------------------------------
Fri Jan 10 10:51:59 UTC 2020 - Dr. Werner Fink <werner@suse.de>