Commit 7759f5e5 authored by Natanael Copa's avatar Natanael Copa

abuild: create the pkgusers/pkggroups as system users

parent d66a5ee4
......@@ -485,13 +485,13 @@ mkusers() {
if getent group $i >/dev/null; then
gopt="-G $i"
fi
$SUDO adduser -D -H $gopt $i || return 1
$SUDO 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"
$SUDO addgroup $i || return 1
$SUDO addgroup -S $i || return 1
fi
done
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment