mirror of
https://github.com/AuxXxilium/arc-dsm.git
synced 2024-11-24 04:50:54 +07:00
dsm: update job
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
5526db42d7
commit
ec4efc494b
@ -18,7 +18,7 @@ function getDSM() {
|
|||||||
mkdir -p "${DESTINATION}"
|
mkdir -p "${DESTINATION}"
|
||||||
mkdir -p "${DESTINATIONFILES}"
|
mkdir -p "${DESTINATIONFILES}"
|
||||||
# Grep Values
|
# Grep Values
|
||||||
PAT_MODEL="$(echo "${MODEL}" | sed -e 's/\./%2E/g' -e 's/+/%2B/g')"
|
PAT_MODEL="$(echo "${MODEL}" | sed -e 's/+/%2B/g')"
|
||||||
PAT_MAJOR="$(echo "${VERSION}" | cut -b 1)"
|
PAT_MAJOR="$(echo "${VERSION}" | cut -b 1)"
|
||||||
PAT_MINOR="$(echo "${VERSION}" | cut -b 3)"
|
PAT_MINOR="$(echo "${VERSION}" | cut -b 3)"
|
||||||
echo "${MODEL} ${VERSION}"
|
echo "${MODEL} ${VERSION}"
|
||||||
@ -108,9 +108,9 @@ function getDSM() {
|
|||||||
rm -f "${PAT_PATH}"
|
rm -f "${PAT_PATH}"
|
||||||
rm -rf "${UNTAR_PAT_PATH}"
|
rm -rf "${UNTAR_PAT_PATH}"
|
||||||
fi
|
fi
|
||||||
echo "DSM extract complete: ${MODEL}_${VERSION}"
|
echo "DSM Extraction complete: ${MODEL}_${VERSION}"
|
||||||
else
|
else
|
||||||
echo "DSM extract Error: ${MODEL}_${VERSION}"
|
echo "No DSM Update found: ${MODEL}_${VERSION}"
|
||||||
fi
|
fi
|
||||||
cd ${HOME}
|
cd ${HOME}
|
||||||
done <"${VERSIONSFILE}"
|
done <"${VERSIONSFILE}"
|
||||||
|
Loading…
Reference in New Issue
Block a user