From 3c668a1b51c8ed7ba341102234a32575a9dbeede Mon Sep 17 00:00:00 2001 From: el-tocino Date: Tue, 6 Oct 2020 17:13:21 -0500 Subject: [PATCH 1/3] easy fix for cli issue 1943 --- start-mycroft.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/start-mycroft.sh b/start-mycroft.sh index 05814c510d..d21954d834 100755 --- a/start-mycroft.sh +++ b/start-mycroft.sh @@ -190,7 +190,9 @@ if [[ "${1}" == "restart" ]] || [[ "${_opt}" == "restart" ]] ; then fi _params=$@ -check-dependencies +if ! grep -i cli <<< ${_params} ; then + check-dependencies +fi case ${_opt} in "all") From 5084de97913401874e1833e5a1c420c8076a192e Mon Sep 17 00:00:00 2001 From: el-tocino Date: Tue, 6 Oct 2020 17:18:10 -0500 Subject: [PATCH 2/3] add quotes for good measure. --- start-mycroft.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start-mycroft.sh b/start-mycroft.sh index d21954d834..a84b0beadd 100755 --- a/start-mycroft.sh +++ b/start-mycroft.sh @@ -190,7 +190,7 @@ if [[ "${1}" == "restart" ]] || [[ "${_opt}" == "restart" ]] ; then fi _params=$@ -if ! grep -i cli <<< ${_params} ; then +if ! grep -i cli <<< "${_params}" ; then check-dependencies fi From 63e7b6083707064181836403fd82c0204e0a7473 Mon Sep 17 00:00:00 2001 From: el-tocino Date: Fri, 18 Jun 2021 00:52:52 -0500 Subject: [PATCH 3/3] Update start-mycroft.sh --- start-mycroft.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start-mycroft.sh b/start-mycroft.sh index a84b0beadd..4c6e453a3a 100755 --- a/start-mycroft.sh +++ b/start-mycroft.sh @@ -190,7 +190,7 @@ if [[ "${1}" == "restart" ]] || [[ "${_opt}" == "restart" ]] ; then fi _params=$@ -if ! grep -i cli <<< "${_params}" ; then +if [[ ! "${_opt}" == "cli" ]] ; then check-dependencies fi