rename err to bash-bear
[distro-setup] / prof-backup
index f5b99bf3a65bd068dff0bc180fe1af33c7ff4b6d..cf9199bb031d716af23bc5d0bab85f94150e8698 100755 (executable)
@@ -17,7 +17,7 @@
 # ssh root@kdwg.b8.nz systemctl --now enable profanity
 
 if [ -z "$BASH_VERSION" ]; then echo "error: shell is not bash" >&2; exit 1; fi
-source /a/bin/errhandle/err
+source /a/bin/bash-bear-trap/bash-bear
 
 source /a/bin/bash_unpublished/source-state
 if [[ $HOSTNAME != "$HOST2" ]]; then
@@ -31,7 +31,7 @@ case $HOSTNAME in
     fi
     ;;
   *)
-    if ssh b8.nz systemctl --quiet is-active profanity; then
+    if ssh iank@b8.nz systemctl --user --quiet is-active profanity; then
       rsync -a b8.nz:/d/p/profanity{,-config} /p
     fi
     ;;