aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/afm-util4
1 files changed, 3 insertions, 1 deletions
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)