From 8cb0ee65c40a6d1b0ef2ef524785f4f96d1a5ce2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Sawicz?= Date: Fri, 13 Oct 2023 14:48:27 +0200 Subject: [PATCH] =?UTF-8?q?snap:=20this=20is=20sh=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- snap/hooks/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snap/hooks/install b/snap/hooks/install index 020cb7c..831caf9 100755 --- a/snap/hooks/install +++ b/snap/hooks/install @@ -12,7 +12,7 @@ daemon=$(snapctl get daemon) if [ "$daemon" = "" ] then # if no model at all, it's either classic or something is wrong - if ! snapctl model > /dev/null || [ "$( snapctl model | awk '/^classic:/ { print $2 }' )" == "true" ] + if ! snapctl model > /dev/null || [ "$( snapctl model | awk '/^classic:/ { print $2 }' )" = "true" ] then snapctl set daemon=false else snapctl set daemon=true fi