mirror of
https://github.com/AuxXxilium/arc-dsm.git
synced 2024-11-24 00:20:52 +07:00
dsm: update script
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
5bb3a100ef
commit
0109d987ed
@ -2,14 +2,6 @@
|
||||
|
||||
HOME=$(pwd)
|
||||
MODELSFILE="models.yml"
|
||||
MODELURL="https://raw.githubusercontent.com/AuxXxilium/arc-rss/main/models.yml"
|
||||
|
||||
# Clean old modelsfile
|
||||
if [ -f "${MODELSFILE}" ]; then
|
||||
rm -f "${MODELSFILE}"
|
||||
fi
|
||||
# Download new modelsfile
|
||||
curl -k -w "%{http_code}" -L "${MODELSURL}" -o "${MODELSFILE}"
|
||||
|
||||
while IFS= read -r line; do
|
||||
PAT_VERSION=$(echo "${line}" | cut -f 1 -d ' ')
|
||||
|
Loading…
Reference in New Issue
Block a user