summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 853cf1c)
raw | patch | inline | side by side (parent: 853cf1c)
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 |
index 2c291e83c8f244588cdd15d715fe8f7812c761ab..34e32a6e43ea4922b2cf862079b1dedc14c67562 100644 (file)
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() {