From: José Bollo Date: Fri, 17 Nov 2017 09:08:25 +0000 (+0100) Subject: afm-util: don't reload if afm-install X-Git-Tag: flounder_5.99.1~41 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-main.git;a=commitdiff_plain;h=236d2d857881d4d50da92eb4ed6d4721474806dc afm-util: don't reload if afm-install Change-Id: I5c73d80ee2dd02a8d7260e8dcd5f52e8ef84b34b Signed-off-by: José Bollo --- diff --git a/scripts/afm-util b/scripts/afm-util index 4d86218..c5e48eb 100755 --- a/scripts/afm-util +++ b/scripts/afm-util @@ -13,7 +13,9 @@ case "$1" in add|install) f=$(realpath $2) - send install '{"wgt":"'"$f"'","force":true}' + r=true + if [[ "$(basename $0)" = "afm-install" ]]; then r=false; fi + send install '{"wgt":"'"$f"'","force":true,"reload":'"$r"'}' ;; remove|uninstall)