checkrestart on system upgrade
authorIan Kelling <iank@fsf.org>
Sat, 3 Aug 2019 18:04:33 +0000 (14:04 -0400)
committerIan Kelling <iank@fsf.org>
Sat, 3 Aug 2019 18:04:33 +0000 (14:04 -0400)
src/package-manager-abstractions

index 2c291e83c8f244588cdd15d715fe8f7812c761ab..34e32a6e43ea4922b2cf862079b1dedc14c67562 100644 (file)
@@ -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() {