5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-14 03:20:28 +00:00

Fix addgroup/groupadd

This commit is contained in:
Neil Alexander 2018-12-18 11:16:27 +00:00
parent ccf0090540
commit 429d014d1c
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944

View File

@ -73,7 +73,7 @@ cat > /tmp/$PKGNAME/debian/postinst << EOF
#!/bin/sh #!/bin/sh
if ! getent group yggdrasil 2>&1 > /dev/null; then 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 fi
if [ -f /etc/yggdrasil.conf ]; if [ -f /etc/yggdrasil.conf ];