Browse Source

use long rather than short option names;

minor formatting
Patrick Schleizer 4 years ago
parent
commit
af28fc93d5
1 changed files with 2 additions and 3 deletions
  1. 2 3
      debian/qubes-core-agent-passwordless-root.postrm

+ 2 - 3
debian/qubes-core-agent-passwordless-root.postrm

@@ -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.