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:
parent
bcf8903873
commit
290066dd4f
1 changed files with 1 additions and 1 deletions
|
@ -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!"
|
||||
|
|
Loading…
Reference in a new issue