arc: usbpatch remove force

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-05-07 21:44:15 +02:00
parent c39316ef5e
commit ecd82e1c04

View File

@ -1145,14 +1145,7 @@ else
BUILDDONE="$(readConfigKey "arc.builddone" "${USER_CONFIG_FILE}")" BUILDDONE="$(readConfigKey "arc.builddone" "${USER_CONFIG_FILE}")"
NEXT="H" NEXT="H"
;; ;;
U) U) [ "${USBMOUNT}" = "true" ] && USBMOUNT='false' || USBMOUNT='true'
if [ "${USBMOUNT}" = "force" ]; then
USBMOUNT="false"
elif [ "${USBMOUNT}" = "false" ]; then
USBMOUNT="true"
elif [ "${USBMOUNT}" = "true" ]; then
USBMOUNT="force"
fi
writeConfigKey "arc.usbmount" "${USBMOUNT}" "${USER_CONFIG_FILE}" writeConfigKey "arc.usbmount" "${USBMOUNT}" "${USER_CONFIG_FILE}"
writeConfigKey "arc.builddone" "false" "${USER_CONFIG_FILE}" writeConfigKey "arc.builddone" "false" "${USER_CONFIG_FILE}"
BUILDDONE="$(readConfigKey "arc.builddone" "${USER_CONFIG_FILE}")" BUILDDONE="$(readConfigKey "arc.builddone" "${USER_CONFIG_FILE}")"