diff options
Diffstat (limited to 'abuild.in')
-rwxr-xr-x | abuild.in | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 } |