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 ];