]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - all
pk3dir handling: detect if the matching pk3 file exists, and then ignore the repo...
[xonotic/xonotic.git] / all
diff --git a/all b/all
index e19793567a34d224808a78fc4e1832b49a508248..bffab80cc57b73330513d68d8c2af797a9e61e02 100755 (executable)
--- a/all
+++ b/all
@@ -119,6 +119,16 @@ repos_urls="
        netradiant
 "
 
+repos_urls=`
+       for X in $repos_urls; do 
+               d="${X%%@*}"
+               p="${d%dir}"
+               if [ x"$p" = x"$d" ] || [ -d "$d" ] || ! [ -f "$p" ]; then
+                       echo "$X"
+               fi
+       done
+`
+
 repos=`for X in $repos_urls; do echo "${X%%@*}"; done`
 
 if [ "$#" = 0 ]; then