iankelling.org
/
git
/
distro-functions
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
853cf1c
)
checkrestart on system upgrade
author
Ian Kelling
<iank@fsf.org>
Sat, 3 Aug 2019 18:04:33 +0000
(14:04 -0400)
committer
Ian Kelling
<iank@fsf.org>
Sat, 3 Aug 2019 18:04:33 +0000
(14:04 -0400)
src/package-manager-abstractions
patch
|
blob
|
history
diff --git
a/src/package-manager-abstractions
b/src/package-manager-abstractions
index 2c291e83c8f244588cdd15d715fe8f7812c761ab..34e32a6e43ea4922b2cf862079b1dedc14c67562 100644
(file)
--- a/
src/package-manager-abstractions
+++ b/
src/package-manager-abstractions
@@
-124,6
+124,7
@@
EOF
local s; [[ $EUID != 0 ]] && s=sudo
$s apt-get -y dist-upgrade --allow-downgrades --purge --auto-remove "$@"
$s apt-get -y autoremove --allow-downgrades
+ $s checkrestart
}
# package info
pl() {