arc: fix logic

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-08-27 14:52:23 -04:00
parent 4c81cfdedd
commit a0fb758acb

View File

@ -334,13 +334,11 @@ function arcVersion() {
else
KVERP="${KVER}"
fi
if [ "${AUTOMATED}" == "false" ]; then
# Rewrite modules
writeConfigKey "modules" "{}" "${USER_CONFIG_FILE}"
while read -r ID DESC; do
writeConfigKey "modules.\"${ID}\"" "" "${USER_CONFIG_FILE}"
done < <(getAllModules "${PLATFORM}" "${KVERP}")
fi
# Check for Only Version
if [ "${ONLYVERSION}" == "true" ]; then
# Build isn't done