update: don't clean arc key

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-09-07 12:47:29 +02:00
parent f6a7c0729e
commit 36ecfa5ca2
2 changed files with 1 additions and 2 deletions

View File

@ -505,7 +505,7 @@ function arcPatch() {
ARCCONF="$(readConfigKey "${MODEL}.serial" "${S_FILE}" 2>/dev/null)"
# Check for Custom Build
SN="$(readConfigKey "sn" "${USER_CONFIG_FILE}")"
if [ "${AUTOMATED}" == "true" ] && [ -z "${SN}" ]; then
if [ "${AUTOMATED}" == "true" ]; then
if [ -n "${ARCCONF}" ]; then
SN=$(generateSerial "${MODEL}" "true")
writeConfigKey "arc.patch" "true" "${USER_CONFIG_FILE}"

View File

@ -558,7 +558,6 @@ function updateConfigs() {
fi
) 2>&1 | dialog --backtitle "$(backtitle)" --title "Update Configs" \
--progressbox "Updating Configs..." 20 70
writeConfigKey "arc.key" "" "${USER_CONFIG_FILE}"
fi
return 0
}