mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-24 00:49:52 +07:00
arc: usbpatch remove force
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
c39316ef5e
commit
ecd82e1c04
@ -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}")"
|
||||||
|
Loading…
Reference in New Issue
Block a user