From 429d014d1c2f4921c9406cd83acb0da5960b721a Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Tue, 18 Dec 2018 11:16:27 +0000 Subject: [PATCH] Fix addgroup/groupadd --- contrib/deb/generate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/deb/generate.sh b/contrib/deb/generate.sh index 0eb21882..ed2c1c96 100644 --- a/contrib/deb/generate.sh +++ b/contrib/deb/generate.sh @@ -73,7 +73,7 @@ cat > /tmp/$PKGNAME/debian/postinst << EOF #!/bin/sh if ! getent group yggdrasil 2>&1 > /dev/null; then - addgroup --system --quiet yggdrasil + groupadd --system --force yggdrasil || echo "Failed to create group 'yggdrasil' - please create it manually and reinstall" fi if [ -f /etc/yggdrasil.conf ];