summaryrefslogtreecommitdiff
path: root/setup-user.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2023-01-24 12:08:23 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2023-01-24 12:07:31 +0000
commit04e4624ab54a2c26e03e9df960e1640ceb150ddc (patch)
treeea2832ca6958bcbacbfe627f9c90e526662919b1 /setup-user.in
parentd0cb8a74038ae77a35fb52752d8977bae87a6614 (diff)
downloadalpine-conf-04e4624ab54a2c26e03e9df960e1640ceb150ddc.zip
setup-*: use fake apk instead of $MOCK apk
Diffstat (limited to 'setup-user.in')
-rw-r--r--setup-user.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-user.in b/setup-user.in
index a61749c..cd4cbef 100644
--- a/setup-user.in
+++ b/setup-user.in
@@ -151,7 +151,7 @@ if [ -n "$groups" ] && [ "$groups" != "none" ]; then
fi
if [ -n "$admin" ]; then
- $MOCK apk add doas
+ apk add doas
mkdir -p "$ROOT"/etc/doas.d
echo "permit persist :wheel" >> "$ROOT"/etc/doas.d/doas.conf
$MOCK addgroup "$username" "wheel" || exit