fix(rust): use direct github releases link for umod

Umod being under attack with Cloudflare causes a failed install for every single server that's running Rust, thus breaking them. Use direct Github release instead, which the old link was a redirect to.

Co-authored-by Dennis <70665154+dennisrijsdijk@users.noreply.github.com>
This commit is contained in:
softwarenoob 2022-02-03 22:08:47 +02:00
parent bcf8903873
commit 290066dd4f
No known key found for this signature in database
GPG key ID: 727A9A3F4417ED51

View file

@ -14,7 +14,7 @@ echo ":/home/container$ ${MODIFIED_STARTUP}"
# OxideMod has been replaced with uMod
if [ -f OXIDE_FLAG ] || [ "${OXIDE}" = 1 ] || [ "${UMOD}" = 1 ]; then
echo "Updating uMod..."
curl -sSL "https://umod.org/games/rust/download/develop" > umod.zip
curl -sSL "https://github.com/OxideMod/Oxide.Rust/releases/latest/download/Oxide.Rust-linux.zip" > umod.zip
unzip -o -q umod.zip
rm umod.zip
echo "Done updating uMod!"