SHA256
1
0
forked from pool/gswrap

Accepting request 807779 from Printing

- Allow option files as well

OBS-URL: https://build.opensuse.org/request/show/807779
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gswrap?expand=0&rev=3
This commit is contained in:
Yuchen Lin 2020-05-23 15:27:10 +00:00 committed by Git OBS Bridge
commit ae0a7cb3a2
2 changed files with 15 additions and 1 deletions

11
gswrap

@ -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"}"

@ -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>