now that we HAVE an official map, we can get rid of the ???????????????-??????????? error message :P

This commit is contained in:
Rudolf Polzer 2010-08-04 09:06:05 +02:00
parent 3dc917baad
commit 0fcb7de675

View File

@ -180,7 +180,11 @@ case "$1" in
;;
download)
mkdir -p "$bspdir" "$bspdir.old"
mv "$bspdir"/*-????????????????????????????????????????-????????????????????????????????????????.pk3 "$bspdir.old"/ || true
for b in "$bspdir"/*-????????????????????????????????????????-????????????????????????????????????????.pk3; do
if [ -e "$b" ]; then
mv "$b" "$bspdir.old"/
fi
done
cd data/xonotic-maps.pk3dir
allmaps getthemap "$url" "$bspdir.old" "$bspdir"
echo "List of maps that got deleted (if any) and currently are in $bspdir.old:"