mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-24 02:19:54 +07:00
arc-functions: rework
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
5d05cdff10
commit
8949e723d3
@ -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" ] && [ "${ARCPATCH}" == "false" ]; then
|
||||
if [[ "${ADDON}" == "amepatch" || "${ADDON}" == "sspatch" || "${ADDON}" == "arcdns" ]] && [ "${ARCPATCH}" == "false" ]; then
|
||||
continue
|
||||
else
|
||||
echo -e "${ADDON} \"${DESC}\" ${ACT}" >>"${TMP_PATH}/opts"
|
||||
|
Loading…
Reference in New Issue
Block a user