From fa8e32a7a3360c01af4092231c2dfe64a42fb013 Mon Sep 17 00:00:00 2001 From: UltimateByte Date: Thu, 19 Jan 2017 21:14:55 +0100 Subject: [PATCH] Fixed sourcemod URL --- lgsm/functions/mods_list.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lgsm/functions/mods_list.sh b/lgsm/functions/mods_list.sh index 08d6805d8..7012fa1f7 100644 --- a/lgsm/functions/mods_list.sh +++ b/lgsm/functions/mods_list.sh @@ -68,12 +68,12 @@ fn_mods_scrape_urls(){ # Metamod metamodscrapeurl="http://www.gsptalk.com/mirror/sourcemod" metamodlatestfile="$(wget "${metamodscrapeurl}/?MD" -q -O -| grep "mmsource" | grep "\-linux" | head -n1 | awk -F '>' '{ print $3 }' | awk -F '<' '{ print $1}')" - metamodfasterurl="http://cdn.probablyaserver.com/sourcemod/" - metamodurl="${metamodfasterurl}/${metamodlatestfile}" + metamoddownloadurl="http://cdn.probablyaserver.com/sourcemod/" + metamodurl="${metamoddownloadurl}/${metamodlatestfile}" # Sourcemod sourcemodmversion="1.8" - sourcemodscrapeurl="http://www.gsptalk.com/mirror/sourcemod" - sourcemodlatestfile="$(wget "${sourcemodscrapeurl}/?MD" -q -O -| grep "sourcemod-" | grep "\-linux" | head -n1 | awk -F '>' '{ print $3 }' | awk -F '<' '{ print $1}')" - sourcemodfasterurl="http://cdn.probablyaserver.com/sourcemod/" - sourcemodurl="${sourcemodfasterurl}/${sourcemodlatestfile}" + sourcemodscrapeurl="https://sm.alliedmods.net/smdrop/${sourcemodmversion}/sourcemod-latest-linux" + sourcemodlatestfile="$(wget "${sourcemodscrapeurl}/?MD" -q -O -)" + sourcemoddownloadurl="https://sm.alliedmods.net/smdrop/${sourcemodmversion}" + sourcemodurl="${sourcemoddownloadurl}/${sourcemodlatestfile}" }