From: Rudolf Polzer Date: Thu, 17 Jun 2010 15:35:26 +0000 (+0200) Subject: if a file foo.pk3dir.no exists, do not download foo.pk3dir repo X-Git-Tag: xonotic-v0.1.0preview~413 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=a9da16b1915733874db39823b6dc506f6b41739e if a file foo.pk3dir.no exists, do not download foo.pk3dir repo --- diff --git a/all b/all index a18991e3..8599484f 100755 --- a/all +++ b/all @@ -188,7 +188,7 @@ repoflags() repos=`for d in $repos; do p="${d%dir}" - if [ x"$p" = x"$d" ] || [ -d "$d" ] || ! [ -f "$p" ]; then + if [ x"$p" = x"$d" ] || [ -d "$d" ] || ! { [ -f "$d.no" ] || [ -f "$p" ]; }; then echo "$d" fi done`