summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
Diffstat (limited to 'abuild.in')
-rwxr-xr-xabuild.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/abuild.in b/abuild.in
index c460ad4..2780d2e 100755
--- a/abuild.in
+++ b/abuild.in
@@ -486,6 +486,12 @@ cleanoldpkg() {
mkusers() {
local i
+ for i in $pkggroups; do
+ if ! getent group $i >/dev/null; then
+ msg "Creating group $i"
+ $ADDGROUP -S $i || return 1
+ fi
+ done
for i in $pkgusers; do
if ! getent passwd $i >/dev/null; then
local gopt=
@@ -496,12 +502,6 @@ mkusers() {
$ADDUSER -S -D -H $gopt $i || return 1
fi
done
- for i in $pkggroups; do
- if ! getent group $i >/dev/null; then
- msg "Creating group $i"
- $ADDGROUP -S $i || return 1
- fi
- done
}