mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-24 01:39:52 +07:00
arc-functions: clean function
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
3480529b39
commit
35ade9f672
@ -51,8 +51,9 @@ function addonSelection() {
|
||||
arrayExistItem "${ADDON}" "${!ADDONS[@]}" && ACT="on" || ACT="off"
|
||||
if [ "${ADDON}" == "amepatch" ] && [ "${OFFLINE}" == "true" ]; then
|
||||
continue
|
||||
else
|
||||
echo -e "${ADDON} \"${DESC}\" ${ACT}" >>"${TMP_PATH}/opts"
|
||||
fi
|
||||
echo -e "${ADDON} \"${DESC}\" ${ACT}" >>"${TMP_PATH}/opts"
|
||||
done < <(availableAddons "${PLATFORM}")
|
||||
dialog --backtitle "$(backtitle)" --title "DSM Addons" --aspect 18 \
|
||||
--checklist "Select DSM Addons to include.\nPlease read Wiki before choosing anything.\nSelect with SPACE, Confirm with ENTER!" 0 0 0 \
|
||||
|
Loading…
Reference in New Issue
Block a user