aboutsummaryrefslogtreecommitdiffstats
path: root/main/sems/sems.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/sems/sems.pre-install')
-rw-r--r--main/sems/sems.pre-install8
1 files changed, 2 insertions, 6 deletions
diff --git a/main/sems/sems.pre-install b/main/sems/sems.pre-install
index b3b5c78024..83d4f74068 100644
--- a/main/sems/sems.pre-install
+++ b/main/sems/sems.pre-install
@@ -1,10 +1,6 @@
#!/bin/sh
-if ! getent group sems >/dev/null; then
- addgroup -S sems
-fi
-if ! getent passwd sems >/dev/null; then
- adduser -S -H -h /var/empty -s /sbin/nologin -D -G sems -g sems sems 2>/dev/null
-fi
+addgroup -S sems 2>/dev/null
+adduser -S -H -h /var/empty -s /sbin/nologin -D -G sems -g sems sems 2>/dev/null
exit 0