X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=filesystem%2Fusr%2Flocal%2Fbin%2Fmyupgrade;h=1b39e7ff1c881f5b63432319b4a59aa13fa108de;hp=712047a684e3ffc1de594b79d1eeefc1bae27924;hb=5fc2a328a44bd7aac3110e7d9c49eaa3e0db8aaf;hpb=a5d4a2af585b0eed9c613f3e1557b6c9c760d3de diff --git a/filesystem/usr/local/bin/myupgrade b/filesystem/usr/local/bin/myupgrade index 712047a..1b39e7f 100755 --- a/filesystem/usr/local/bin/myupgrade +++ b/filesystem/usr/local/bin/myupgrade @@ -13,6 +13,15 @@ if [[ $HOSTNAME == "$MAIL_HOST" || $hn == li.b8.nz ]]; then exit 0 fi +l() { + "$@" |& systemd-cat -t myupgrade +} +l /a/bin/buildscripts/tor-browser +l /a/bin/buildscripts/go +l /a/bin/buildscripts/rust +l /a/bin/buildscripts/misc +l go get -u mvdan.cc/fdroidcl + cmd="$s /usr/sbin/checkrestart -p" if [[ $($cmd | sed '/^Found 0 processes using old versions of upgraded files$/d' | wc -l) != 0 ]]; then $cmd -v | pee cat "wall -n"