mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-04-10 19:15:12 +00:00
PREPARE_COMPONENT: added full reset option
This commit is contained in:
parent
bd1f4d6817
commit
a7fd056cb0
|
@ -31,6 +31,12 @@ prepare_component() {
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "$1" == "--full-reset" ]]; then
|
||||||
|
log i "User requested full RetroDECK reset"
|
||||||
|
rm -f "$lockfile" && log d "Lockfile removed"
|
||||||
|
retrodeck
|
||||||
|
fi
|
||||||
|
|
||||||
action="$1"
|
action="$1"
|
||||||
components=$(echo "${@:2}" | tr '[:upper:]' '[:lower:]' | tr ',' ' ')
|
components=$(echo "${@:2}" | tr '[:upper:]' '[:lower:]' | tr ',' ' ')
|
||||||
call_source="$3"
|
call_source="$3"
|
||||||
|
|
Loading…
Reference in a new issue