X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=misc%2Finfrastructure%2Frefresh-checkupdate.sh;h=30d7cd07b23ebcb33e39e051da8ae7c37be8b2df;hb=1007baeac7b3659ff4ef2fffb08411a7ece05b7a;hp=a08edd4ea141c6350577b8874605b56e2bc59dbf;hpb=7dcb54c199acf6b7fd460fc5f962d1d269a0854e;p=xonotic%2Fxonotic.git diff --git a/misc/infrastructure/refresh-checkupdate.sh b/misc/infrastructure/refresh-checkupdate.sh index a08edd4e..30d7cd07 100755 --- a/misc/infrastructure/refresh-checkupdate.sh +++ b/misc/infrastructure/refresh-checkupdate.sh @@ -9,7 +9,7 @@ export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/g cd /var/www/update.xonotic.org rm -f checkupdate.txt -wget -qO checkupdate.txt "http://git.xonotic.org/?p=xonotic/xonotic.git;a=blob_plain;f=misc/infrastructure/checkupdate.txt" +wget -qO checkupdate.txt "https://gitlab.com/xonotic/xonotic/-/raw/master/misc/infrastructure/checkupdate.txt" { grep "^V " checkupdate.txt | head -n 1 | cut -c 3- grep "^D " checkupdate.txt | head -n 1 | cut -c 3-