[packages/lgeneral-data-pg] - sleep after running Xvfb to avoid race; release 2

qboosh qboosh at pld-linux.org
Sat Sep 17 07:57:16 CEST 2016


commit 904aefa443da9d5beac546f79a9033384e890890
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Sep 17 07:58:46 2016 +0200

    - sleep after running Xvfb to avoid race; release 2

 lgeneral-data-pg.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/lgeneral-data-pg.spec b/lgeneral-data-pg.spec
index d321df8..f8f2041 100644
--- a/lgeneral-data-pg.spec
+++ b/lgeneral-data-pg.spec
@@ -6,7 +6,7 @@ Summary:	Panzer General game data files for LGeneral game
 Summary(pl.UTF-8):	Pliki danych gry Panzer General dla gry LGeneral
 Name:		lgeneral-data-pg
 Version:	0
-Release:	1
+Release:	2
 # (not real license: material is copyrighted and used to be commercially available,
 #  but now copyright owner is no longer interested)
 License:	"abandonware"
@@ -52,6 +52,7 @@ install -d lgeneral/{gfx/{flags,terrain,units},maps,nations,scenarios,sounds,uni
 DISP=$(( (RANDOM % 87) + 31 ))
 /usr/bin/Xvfb :$DISP &
 XVFB_PID=$!
+sleep 1
 [ -n "$XVFB_PID" ] || exit 1
 DISPLAY=:$DISP lgc-pg -s pg-data -d lgeneral
 kill $XVFB_PID
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lgeneral-data-pg.git/commitdiff/904aefa443da9d5beac546f79a9033384e890890



More information about the pld-cvs-commit mailing list