From f9662587720f3c00b3b6c7acb229d701a4511ae6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Delafond?= Date: Sat, 21 Dec 2019 10:29:01 +0100 Subject: [PATCH] Lintian fix --- debian/aptly-api.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/aptly-api.postinst b/debian/aptly-api.postinst index 9d263609..e9131fb3 100755 --- a/debian/aptly-api.postinst +++ b/debian/aptly-api.postinst @@ -22,7 +22,7 @@ case "$1" in configure|reconfigure) # create an aptly-api group and user - if ! grep -q aptly-api /etc/passwd; then + if ! getent passwd aptly-api > /dev/null; then adduser --system --home /var/lib/aptly-api --no-create-home aptly-api addgroup --system aptly-api adduser aptly-api aptly-api