Просмотр исходного кода

use long rather than short option names;

minor formatting
Patrick Schleizer 4 лет назад
Родитель
Сommit
af28fc93d5
1 измененных файлов с 2 добавлено и 3 удалено
  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.