Merge pull request #3892 from AuxXxilium/dev

tree: fix syntax
This commit is contained in:
AuxXxilium 2024-10-02 22:58:26 +02:00 committed by GitHub
commit 120e70c3b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 7 deletions

View File

@ -571,7 +571,7 @@ function arcPatch() {
[ -z "${resp}" ] && return 1
if [ ${resp} -eq 1 ]; then
# Generate random Serial
SN=$(generateSerial "${MODEL}" "false" | tr '[:lower:]' '[:upper:]')
SN="$(generateSerial "${MODEL}" "false" | tr '[:lower:]' '[:upper:]')"
writeConfigKey "arc.patch" "false" "${USER_CONFIG_FILE}"
elif [ ${resp} -eq 2 ]; then
while true; do
@ -600,11 +600,11 @@ function arcPatch() {
[ -z "${resp}" ] && return 1
if [ ${resp} -eq 1 ]; then
# Read Arc Patch from File
SN=$(generateSerial "${MODEL}" "true" | tr '[:lower:]' '[:upper:]')
SN="$(generateSerial "${MODEL}" "true" | tr '[:lower:]' '[:upper:]')"
writeConfigKey "arc.patch" "true" "${USER_CONFIG_FILE}"
elif [ ${resp} -eq 2 ]; then
# Generate random Serial
SN=$(generateSerial "${MODEL}" "false" | tr '[:lower:]' '[:upper:]')
SN="$(generateSerial "${MODEL}" "false" | tr '[:lower:]' '[:upper:]')"
writeConfigKey "arc.patch" "false" "${USER_CONFIG_FILE}"
elif [ ${resp} -eq 3 ]; then
while true; do