소스 검색

Fix OxideRust download link

The OxideMod/Oxide.Rust GitHub repository is now found under theumod/umod.rust.

This, of course, has caused Oxide update to fail, and is simply fixed by swapping the URL. The Hurtworld and SevenDaysToDie are still belonging to the OxideMod account, but it may also migrate later.

See: https://github.com/theumod/umod.rust
Martin 7 년 전
부모
커밋
46a7f8e004
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lgsm/functions/mods_list.sh

+ 1 - 1
lgsm/functions/mods_list.sh

@@ -27,7 +27,7 @@ sourcemodlatestfile="$(wget "${sourcemodscrapeurl}" -q -O -)"
 sourcemoddownloadurl="https://www.sourcemod.net/latest.php?os=linux&version=${sourcemodmversion}"
 sourcemodurl="${sourcemoddownloadurl}"
 # Oxide
-oxiderustlatestlink="$(curl -s https://api.github.com/repos/OxideMod/Oxide.Rust/releases/latest | grep browser_download_url | cut -d '"' -f 4)"
+oxiderustlatestlink="$(curl -s https://api.github.com/repos/theumod/umod.rust/releases/latest | grep browser_download_url | cut -d '"' -f 4)"
 oxidehurtworldlatestlink="$(curl -s https://api.github.com/repos/OxideMod/Oxide.Hurtworld/releases/latest | grep browser_download_url | cut -d '"' -f 4 | grep "Oxide.Hurtworld.zip")"
 oxidesdtdlatestlink="$(curl -s https://api.github.com/repos/OxideMod/Oxide.SevenDaysToDie/releases/latest | grep browser_download_url | cut -d '"' -f 4)"