mirror of
https://codeberg.org/spire/docker-comp-server.git
synced 2026-06-03 10:04:11 +02:00
auto pick latest ugc configs
This commit is contained in:
parent
76b8b8bd87
commit
28c52f2e33
1 changed files with 5 additions and 3 deletions
|
|
@ -1,9 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cd $HOME/hlserver/tf2/tf/cfg
|
cd $HOME/hlserver/tf2/tf/cfg
|
||||||
|
|
||||||
ugc_cfg_version_9="v051416"
|
ugc_cfg_version_9=$(wget -O - "http://ugcleague.com/files_tf2h.cfm" | grep -oP "UGC_HL_cfg_and_whitelist_(.*)\.zip" | grep -m1 -oP "v\d{6}")
|
||||||
ugc_cfg_version_6="v121915"
|
ugc_cfg_version_6=$(wget -O - "http://ugcleague.com/files_tf26.cfm" | grep -oP "UGC_6v6_cfg_and_whitelist_(.*)\.zip" | grep -m1 -oP "v\d{6}")
|
||||||
ugc_cfg_version_4="v012116"
|
ugc_cfg_version_4=$(wget -O - "http://ugcleague.com/files_tf24.cfm" | grep -oP "UGC_4v4_cfg_and_whitelist_(.*)\.zip" | grep -m1 -oP "v\d{6}")
|
||||||
|
|
||||||
|
echo $ugc_cfg_version_9
|
||||||
|
|
||||||
wget -nv "http://etf2l.org/configs/etf2l_configs.zip"
|
wget -nv "http://etf2l.org/configs/etf2l_configs.zip"
|
||||||
unzip etf2l_configs.zip
|
unzip etf2l_configs.zip
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue