minor enhancement for shellchecking things
[distro-setup] / brc2
diff --git a/brc2 b/brc2
index d51add8e40365e401367a9b7b13e615c1c5fe3a7..4d83fede6282902343d64aaad9ada1f3a20f3cce 100644 (file)
--- a/brc2
+++ b/brc2
@@ -1385,8 +1385,6 @@ bbk() { # btrbk wrapper
       return 1
       ;;
   esac
-  # run latest
-  install-my-scripts
   # todo: consider changing this to srun and having the args come
   # from a file like /etc/default/btrbk, like is done in exim
   s jdo btrbk-run "$@"
@@ -1593,7 +1591,6 @@ sm() { # switch mail host
   if [[ ! $tmp ]]; then
     s ssh-add /root/.ssh/home
   fi
-  install-my-scripts
   s jdo switch-mail-host "$@"
   return $ret
 }
@@ -3815,9 +3812,9 @@ rgv() {
 }
 
 amall() {
-  printf "$(tput setaf 5 2>/dev/null ||:)█ coresite █$(tput sgr0 2>/dev/null||:)"
+  echo "$(tput setaf 5 2>/dev/null ||:)█ coresite █$(tput sgr0 2>/dev/null||:)"
   amfsf "$@"
-  printf "$(tput setaf 5 2>/dev/null ||:)█ office █$(tput sgr0 2>/dev/null||:)"
+  echo "$(tput setaf 5 2>/dev/null ||:)█ office █$(tput sgr0 2>/dev/null||:)"
   amoffice "$@"
 }
 amallq() { # amall quiet
@@ -3836,8 +3833,9 @@ amls() {
   amall silence query "$@"
 }
 amrmall() {
-  amfsf silence expire $(amfsf silence query -q)
-  amoffice silence expire $(amoffice silence query -q)
+  # note: not sure if quoting of this arg is correct
+  amfsf silence expire "$(amfsf silence query -q)"
+  amoffice silence expire "$(amoffice silence query -q)"
 }