mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-23 22:19:52 +07:00
arc-functions: fix logic
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
3ef298098b
commit
8ccf7d39fd
@ -49,7 +49,7 @@ function addonSelection() {
|
||||
touch "${TMP_PATH}/opts"
|
||||
while read -r ADDON DESC; do
|
||||
arrayExistItem "${ADDON}" "${!ADDONS[@]}" && ACT="on" || ACT="off"
|
||||
if [[ "${ADDON}" == "amepatch" || "${ADDON}" == "sspatch" || "${ADDON}" == "arcdns" ]] && [ "${ARCCONF}" == "false" ]; then
|
||||
if [[ "${ADDON}" == "amepatch" || "${ADDON}" == "sspatch" || "${ADDON}" == "arcdns" ]] && [ -z "${ARCCONF}" ]; then
|
||||
continue
|
||||
elif [ "${ADDON}" == "cpufreqscaling" ] && [ "${CPUFREQ}" == "false" ]; then
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user