use long rather than short option names;
minor formatting
This commit is contained in:
parent
da3c22b4a6
commit
af28fc93d5
@ -37,13 +37,12 @@ set -e
|
||||
# the debian-policy package
|
||||
|
||||
if [ "${1}" = "remove" ] ; then
|
||||
gpasswd -d user sudo
|
||||
gpasswd --delete user sudo
|
||||
if [ "$(passwd -S root|cut -f 2 -d ' ')" = "NP" ]; then
|
||||
passwd -l root
|
||||
passwd --lock root
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
# dh_installdeb will replace this with shell code automatically
|
||||
# generated by other debhelper scripts.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user