mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 14:15:06 +03:00
Fix addgroup/groupadd
This commit is contained in:
parent
ccf0090540
commit
429d014d1c
1 changed files with 1 additions and 1 deletions
|
@ -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 ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue