iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
various updates
[distro-setup]
/
filesystem
/
usr
/
local
/
bin
/
myupgrade
diff --git
a/filesystem/usr/local/bin/myupgrade
b/filesystem/usr/local/bin/myupgrade
index 712047a684e3ffc1de594b79d1eeefc1bae27924..1b39e7ff1c881f5b63432319b4a59aa13fa108de 100755
(executable)
--- 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
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"
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"