functions: fix syntax

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-05-03 16:15:46 +02:00
parent 8e6e7846a0
commit 0f0ea39c7d

View File

@ -85,7 +85,7 @@ function generateSerial() {
ID="$(readModelKey "${1}" "id")" ID="$(readModelKey "${1}" "id")"
PREFIX="$(readConfigArray "${ID}.prefix" "${S_FILE}" | sort -R | tail -1)" PREFIX="$(readConfigArray "${ID}.prefix" "${S_FILE}" | sort -R | tail -1)"
MIDDLE="$(readConfigArray "${ID}.middle" "${S_FILE}" | sort -R | tail -1)" MIDDLE="$(readConfigArray "${ID}.middle" "${S_FILE}" | sort -R | tail -1)"
SUFFIX=$(readConfigKey "${ID}.suffix" "${S_FILE}") SUFFIX="$(readConfigKey "${ID}.suffix" "${S_FILE}")"
case "${SUFFIX}" in case "${SUFFIX}" in
numeric) numeric)