aboutsummaryrefslogtreecommitdiff
path: root/apks/firefly3/firefly3.pre-install
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-04-24 20:42:48 +0200
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-04-24 20:42:48 +0200
commit8ceab0a8599974c3ed0e875354bd3c95a8c845cb (patch)
treefd1f11a136087760a93fc85e544b08aeff6c42d8 /apks/firefly3/firefly3.pre-install
parent3e74fa3b3f4c1069616495decb06d601526986bd (diff)
downloadapkbuilds-8ceab0a8599974c3ed0e875354bd3c95a8c845cb.tar.gz
apkbuilds-8ceab0a8599974c3ed0e875354bd3c95a8c845cb.tar.bz2
apkbuilds-8ceab0a8599974c3ed0e875354bd3c95a8c845cb.zip
fix: Move chown setup
I don't know if this is the proper way to do it but it will make easier to build it.
Diffstat (limited to 'apks/firefly3/firefly3.pre-install')
-rw-r--r--apks/firefly3/firefly3.pre-install6
1 files changed, 3 insertions, 3 deletions
diff --git a/apks/firefly3/firefly3.pre-install b/apks/firefly3/firefly3.pre-install
index b9622c2..40db5b7 100644
--- a/apks/firefly3/firefly3.pre-install
+++ b/apks/firefly3/firefly3.pre-install
@@ -1,9 +1,9 @@
#!/bin/sh
-user=firefly
-group=firefly
+user=firefly3
+group=firefly3
addgroup -S $group 2>/dev/null
-adduser -S -D -h /var/lib/"$user"3 -s /sbin/nologin -G $group -g $user $user 2>/dev/null
+adduser -S -D -h /var/lib/$user -s /sbin/nologin -G $group -g $user $user 2>/dev/null
exit 0