fix lintian warning

W: security-misc: maintainer-script-should-not-parse-etc-passwd-or-group preinst:19
This commit is contained in:
Patrick Schleizer 2019-10-18 10:38:25 +00:00
parent d301e7f365
commit 957deac5cb
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -16,7 +16,7 @@ true "
"
if [ "$1" = "install" ]; then
sudo_users="$(grep '^sudo:.*$' /etc/group | cut -d: -f4)"
sudo_users="$(getent group sudo | cut -d: -f4)"
## example sudo_users:
## user,root