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:
commit
ae0a7cb3a2
11
gswrap
11
gswrap
@ -118,6 +118,10 @@ do
|
|||||||
esac
|
esac
|
||||||
continue
|
continue
|
||||||
;;
|
;;
|
||||||
|
@*)
|
||||||
|
opts[o++]="--ro-bind ${arg#@} $home/${arg#@}"
|
||||||
|
continue
|
||||||
|
;;
|
||||||
-*)
|
-*)
|
||||||
continue
|
continue
|
||||||
;;
|
;;
|
||||||
@ -181,7 +185,12 @@ then
|
|||||||
done
|
done
|
||||||
done
|
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++]="--ro-bind ${XAUTHORITY+"$XAUTHORITY"} $home/.Xauthority"
|
||||||
opts[o++]="--setenv XAUTHORITY $home/.Xauthority"
|
opts[o++]="--setenv XAUTHORITY $home/.Xauthority"
|
||||||
opts[o++]="--setenv DISPLAY ${DISPLAY+"$DISPLAY"}"
|
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>
|
Fri Jan 10 10:51:59 UTC 2020 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user