SHA256
1
0
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:
Dr. Werner Fink 2019-08-14 08:18:25 +00:00 committed by Git OBS Bridge
parent f558bbc3b5
commit 7df4018b81
2 changed files with 8 additions and 2 deletions

5
gswrap
View File

@ -42,6 +42,7 @@ finish ()
for ps in "$tmp/"* for ps in "$tmp/"*
do do
test -e "$ps" || continue test -e "$ps" || continue
test -p "$ps" && continue
mv -f "$ps" "$dir" mv -f "$ps" "$dir"
done done
rm -rf "$tmp" rm -rf "$tmp"
@ -144,8 +145,8 @@ then
mkfifo -m 666 ${tmp}/fd mkfifo -m 666 ${tmp}/fd
fd=${tmp}/fd fd=${tmp}/fd
exec $pipecmd < $fd & exec $pipecmd < $fd &
argv[pipepos]="-sOutputFile=$fd" argv[pipepos]="-sOutputFile=$home/fifo"
opts[o++]="--bind $fd $fd" opts[o++]="--bind $fd $home/fifo"
fi fi
# User might have some own font configurations as well # User might have some own font configurations as well
if test -d /var/cache/fontconfig if test -d /var/cache/fontconfig

View File

@ -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> Tue Aug 13 10:25:59 UTC 2019 - Dr. Werner Fink <werner@suse.de>