Skip to content

Commit

Permalink
use long rather than short option names;
Browse files Browse the repository at this point in the history
minor formatting

(cherry picked from commit af28fc9)
  • Loading branch information
Patrick Schleizer authored and marmarek committed Sep 7, 2019
1 parent c8ddcb4 commit 076893a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions debian/qubes-core-agent-passwordless-root.postrm
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 076893a

Please sign in to comment.