summaryrefslogtreecommitdiff
path: root/main/alpine-baselayout/alpine-baselayout.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/alpine-baselayout/alpine-baselayout.pre-install')
-rw-r--r--main/alpine-baselayout/alpine-baselayout.pre-install5
1 files changed, 2 insertions, 3 deletions
diff --git a/main/alpine-baselayout/alpine-baselayout.pre-install b/main/alpine-baselayout/alpine-baselayout.pre-install
index 3b9f1410836..fc0d0b9f5da 100644
--- a/main/alpine-baselayout/alpine-baselayout.pre-install
+++ b/main/alpine-baselayout/alpine-baselayout.pre-install
@@ -1,6 +1,5 @@
#!/bin/sh
-if [ -e /etc/group ] && ! grep -q '^shadow:' /etc/group; then
- addgroup -S -g 42 shadow
-fi
+addgroup -S -g 42 shadow 2>/dev/null
+exit 0