arc-functions: change addon selection

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium
2024-09-27 21:40:38 +02:00
parent c701d2e0c6
commit 3066ce8cac

View File

@@ -51,6 +51,8 @@ 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
continue
elif [ "${ADDON}" == "cpufreqscaling" ] && [[ "${CPUFREQ}" == "false" || "${ACPISYS}" == "false" ]] ; then
continue
else