echo "$deltime $F" >> .to_delete
done
done
-deltime=$(($now - 86400))
while IFS=' ' read -r d f; do
if [ $d -lt $now ]; then
- rm -f "$f"
+ rm -rf "$f"
else
echo "$d $f"
- done
+ fi
done < .to_delete > .to_delete_new
mv .to_delete_new .to_delete
# maps near completion
for b in \
- origin/fruitiex/space_elevator \
- origin/fruitiex/dance \
origin/fruitiex/runningmanctf \
origin/mintox/geoplanetary
do
ln -snf "$X" "Xonotic-latest${X#Xonotic-$d}"
done
rsync -vaSHP Xonotic*.zip xonotic-beta:autobuild/
+ssh xonotic-beta sh update-rsync.sh "$d"
echo "Finished a new beta build at http://beta.xonotic.org/autobuild/" | $IRCSPAM
cd