From: Ian Kelling Date: Sat, 3 Aug 2019 18:04:33 +0000 (-0400) Subject: checkrestart on system upgrade X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=31565958031fc7e309693b9aadadc374d687e2d8;p=distro-functions checkrestart on system upgrade --- diff --git a/src/package-manager-abstractions b/src/package-manager-abstractions index 2c291e8..34e32a6 100644 --- 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() {