dsm: fix output in script

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2023-06-24 14:28:21 +02:00
parent b183e91c59
commit 587a7dd063

View File

@ -21,7 +21,7 @@ while IFS= read -r line; do
DESTINATIONFILES="${FILESPATH}/${MODEL}/${BUILD}"
if [ ! -f "${DESTINATIONFILES}/dsm.tar" ] || [ ! -f "${DESTINATION}" ]; then
PAT_MODEL="$(echo "${MODEL}" | sed 's/ /%20/')"
echo "${PAT_MODEL} ${VERSION} ${BUILD}"
echo "${PAT_MODEL} ${PAT_VERSION} ${BUILD}"
PAT_LINK="${PAT_VERSION}/${PAT_BUILD}/DSM_${PAT_MODEL}_${BUILD}.pat"
PAT_URL="https://global.synologydownload.com/download/DSM/release/${PAT_LINK}"