forked from pool/gswrap
Bind the temporary FIFO below home in container
OBS-URL: https://build.opensuse.org/package/show/Printing/gswrap?expand=0&rev=2
This commit is contained in:
parent
f558bbc3b5
commit
7df4018b81
5
gswrap
5
gswrap
@ -42,6 +42,7 @@ finish ()
|
||||
for ps in "$tmp/"*
|
||||
do
|
||||
test -e "$ps" || continue
|
||||
test -p "$ps" && continue
|
||||
mv -f "$ps" "$dir"
|
||||
done
|
||||
rm -rf "$tmp"
|
||||
@ -144,8 +145,8 @@ then
|
||||
mkfifo -m 666 ${tmp}/fd
|
||||
fd=${tmp}/fd
|
||||
exec $pipecmd < $fd &
|
||||
argv[pipepos]="-sOutputFile=$fd"
|
||||
opts[o++]="--bind $fd $fd"
|
||||
argv[pipepos]="-sOutputFile=$home/fifo"
|
||||
opts[o++]="--bind $fd $home/fifo"
|
||||
fi
|
||||
# User might have some own font configurations as well
|
||||
if test -d /var/cache/fontconfig
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 14 08:09:11 UTC 2019 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
- Bind the temporary FIFO below home in container
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 13 10:25:59 UTC 2019 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user