wok diff cookutils/stuff/pkgdb-no-parallel.patch @ rev 24997

updated ninvaders (0.1.1 -> 0.1.2)
author Hans-G?nter Theisgen
date Mon May 16 11:04:31 2022 +0100 (2022-05-16)
parents bde99f8d4916
children
line diff
     1.1 --- a/cookutils/stuff/pkgdb-no-parallel.patch	Tue Jan 11 15:46:14 2022 +0000
     1.2 +++ b/cookutils/stuff/pkgdb-no-parallel.patch	Mon May 16 11:04:31 2022 +0100
     1.3 @@ -10,7 +10,7 @@
     1.4  +# Avoid parallel execution
     1.5   
     1.6  +BLOCK=$PKGS/pkgdb.block
     1.7 -+if ps | grep -q " $(cat $BLOCK) "; then
     1.8 ++if [ -e "$BLOCK" ] && ps | grep -q " $(cat $BLOCK) "; then
     1.9  +	echo "pkgdb already running - exiting now" | dblog
    1.10  +	exit 1
    1.11  +fi