mirror of
https://github.com/AuxXxilium/arc-dsm.git
synced 2024-11-23 21:50:51 +07:00
update: more rewrite
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
2e8601f36d
commit
340597400b
@ -161,16 +161,14 @@ EXTRACTOR_PATH="${CACHE_PATH}/extractor"
|
||||
EXTRACTOR_BIN="syno_extract_system_patch"
|
||||
DSMPATH="${HOME}/dsm"
|
||||
FILESPATH="${HOME}/files"
|
||||
echo "model:" >"${TMP_PATH}/data.yml"
|
||||
PREA=""
|
||||
while read -r M A; do
|
||||
if [ "${PREA}" != "${A}" ]; then
|
||||
echo " ${A}:" >>"${TMP_PATH}/data.yml"
|
||||
echo "${A}:" >>"${TMP_PATH}/data.yml"
|
||||
PREA="${A}"
|
||||
fi
|
||||
MODEL=$(echo ${M} | sed 's/d$/D/; s/rp$/RP/; s/rp+/RP+/')
|
||||
echo "\"${MODEL}\":" >>"${TMP_PATH}/data.yml"
|
||||
echo " versions:" >>"${TMP_PATH}/data.yml"
|
||||
echo " \"${MODEL}\":" >>"${TMP_PATH}/data.yml"
|
||||
getDSM "${MODEL}" "${A}"
|
||||
git config --global user.email "info@auxxxilium.tech"
|
||||
git config --global user.name "AuxXxilium"
|
||||
|
Loading…
Reference in New Issue
Block a user