Forgot some replacements
This commit is contained in:
@@ -72,7 +72,7 @@ EOF
|
|||||||
cat > /tmp/$PKGNAME/debian/postinst << EOF
|
cat > /tmp/$PKGNAME/debian/postinst << EOF
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
id -u somename &>/dev/null || useradd --system alfis || echo "Failed to create user 'alfis' - please create it manually and reinstall"
|
id -u alfis &>/dev/null || useradd --system alfis || echo "Failed to create user 'alfis' - please create it manually and reinstall"
|
||||||
|
|
||||||
if ! getent group alfis 2>&1 > /dev/null; then
|
if ! getent group alfis 2>&1 > /dev/null; then
|
||||||
groupadd --system --force alfis || echo "Failed to create group 'alfis' - please create it manually and reinstall"
|
groupadd --system --force alfis || echo "Failed to create group 'alfis' - please create it manually and reinstall"
|
||||||
|
|||||||
Reference in New Issue
Block a user