Do not reference sudo group when removing package

This commit is contained in:
unman 2020-02-03 03:46:35 +00:00
parent 686673e1fd
commit 165def228d
No known key found for this signature in database
GPG Key ID: FDD1B8244731B36C

View File

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