]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
Use GitLab's raw URL instead.
authorAnt Zucaro <azucaro@gmail.com>
Sun, 13 Dec 2020 14:39:02 +0000 (09:39 -0500)
committerAnt Zucaro <azucaro@gmail.com>
Sun, 13 Dec 2020 14:39:02 +0000 (09:39 -0500)
misc/infrastructure/refresh-checkupdate.sh

index a08edd4ea141c6350577b8874605b56e2bc59dbf..30d7cd07b23ebcb33e39e051da8ae7c37be8b2df 100755 (executable)
@@ -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-