From 474bca19f8ed45309e7c021316ac5cf53bf65f63 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Mon, 26 Apr 2010 14:10:54 +0200 Subject: [PATCH 1/1] pk3dir handling: detect if the matching pk3 file exists, and then ignore the repo for the purpose of this script --- all | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/all b/all index e1979356..bffab80c 100755 --- 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 -- 2.39.2