4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-06-14 18:36:07 +00:00

Fix addgroup/groupadd

This commit is contained in:
Neil Alexander
2018-12-18 11:16:27 +00:00
parent ccf0090540
commit 429d014d1c

View File

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