tree: fix syntax

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-09-29 15:15:02 +02:00
parent dee1244b7d
commit 8a1ea9bd53
2 changed files with 4 additions and 3 deletions

View File

@ -51,7 +51,7 @@ function addonSelection() {
arrayExistItem "${ADDON}" "${!ADDONS[@]}" && ACT="on" || ACT="off"
if [[ "${ADDON}" == "amepatch" || "${ADDON}" == "sspatch" || "${ADDON}" == "arcdns" ]] && [ -z "${ARCCONF}" ]; then
continue
elif if [ "${ADDON}" == "codecpatch" ] && [ -n "${ARCCONF}" ]; then
elif [ "${ADDON}" == "codecpatch" ] && [ -n "${ARCCONF}" ]; then
continue
elif [ "${ADDON}" == "cpufreqscaling" ] && [[ "${CPUFREQ}" == "false" || "${ACPISYS}" == "false" ]] ; then
continue

View File

@ -901,7 +901,7 @@ function arcUpdate() {
if echo "${ARC_VERSION}" | grep -q "dev"; then
dialog --backtitle "$(backtitle)" --title "Full-Update Loader" --aspect 18 \
--infobox "Development Version detected." 0 0
sleep 2
sleep 3
DEV="true"
fi
# Automatic Update
@ -921,6 +921,7 @@ function arcUpdate() {
# Ask for Boot
dialog --backtitle "$(backtitle)" --title "Full-Update Loader" --aspect 18 \
--infobox "Update successful!" 0 0
sleep 3
updateboot
}
@ -935,7 +936,7 @@ function juniorboot() {
fi
dialog --backtitle "$(backtitle)" --title "Arc Boot" \
--infobox "Booting DSM Reinstall Mode...\nPlease stay patient!" 4 30
sleep 2
sleep 3
rebootTo junior
}