mirror of
https://github.com/AuxXxilium/arc-dsm.git
synced 2024-11-23 23:30:51 +07:00
update: fix
This commit is contained in:
parent
e3a02179a1
commit
7f2af8ce5a
@ -143,7 +143,7 @@ mkdir -p "${CONFIGS}"
|
||||
touch "${TMP_PATH}/data.yml"
|
||||
touch "${TMP_PATH}/webdata.txt"
|
||||
TAG="$(curl --insecure -m 5 -s https://api.github.com/repos/AuxXxilium/arc-configs/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3)}')"
|
||||
curl --insecure -s -w "%{http_code}" -L "https://github.com/AuxXxilium/arc-configs/releases/download/${TAG}/configs.zip" -o "./configs.zip"
|
||||
curl --insecure -s -w "%{http_code}" -L "https://github.com/AuxXxilium/arc-configs/releases/download/${TAG}/configs-${TAG}.zip" -o "./configs.zip"
|
||||
unzip -oq "./configs.zip" -d "${CONFIGS}" >/dev/null 2>&1
|
||||
rm -f "configs.zip"
|
||||
P_FILE="${CONFIGS}/platforms.yml"
|
||||
|
Loading…
Reference in New Issue
Block a user