iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
robustness and satisfy shellcheck
[distro-setup]
/
install-my-scripts
diff --git
a/install-my-scripts
b/install-my-scripts
index e2356ca3e70c13436d65cc0f26b3447628f079c9..fc6123970693d388161980e2354dc44f5287d28f 100755
(executable)
--- a/
install-my-scripts
+++ b/
install-my-scripts
@@
-28,7
+28,7
@@
trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
x="$(readlink -f "$BASH_SOURCE")"; cd ${x%/*}
x="$(readlink -f "$BASH_SOURCE")"; cd ${x%/*}
-e() { echo "$*"; "$@"; }
-
# scripts that would interfere with unmounting /a, put them elsewhere
# scripts that would interfere with unmounting /a, put them elsewhere
-e install mount-latest-subvol check-subvol-stale /usr/local/bin
+install /a/bin/log-quiet/log-once switch-mail-host btrbk-run mount-latest-subvol \
+ check-subvol-stale /usr/local/bin
+install /a/bin/errhandle/err /usr/local/lib