Merge remote-tracking branch 'origin/pr/212'

* origin/pr/212:
  Do not reference sudo group when removing package
This commit is contained in:
Marek Marczykowski-Górecki 2020-02-06 01:55:32 +01:00
commit 90f4100842
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -37,7 +37,6 @@ set -e
# the debian-policy package
if [ "${1}" = "remove" ] ; then
gpasswd --delete user sudo
if [ "$(passwd -S root|cut -f 2 -d ' ')" = "NP" ]; then
passwd --lock root
fi