aboutsummaryrefslogtreecommitdiff
path: root/apks/firefly3/firefly3.pre-install
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-04-24 20:29:33 +0200
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-04-24 20:29:33 +0200
commit3e74fa3b3f4c1069616495decb06d601526986bd (patch)
treeb458bb0985c0978358479e950a53c258238039e5 /apks/firefly3/firefly3.pre-install
parente89c3ae528d667a63b9716653f9f926bf416f2ee (diff)
downloadapkbuilds-3e74fa3b3f4c1069616495decb06d601526986bd.tar.gz
apkbuilds-3e74fa3b3f4c1069616495decb06d601526986bd.tar.bz2
apkbuilds-3e74fa3b3f4c1069616495decb06d601526986bd.zip
fix: Correct folder struct
Now it links the folder to the right place with the proper permission.
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 74f1b59..b9622c2 100644
--- a/apks/firefly3/firefly3.pre-install
+++ b/apks/firefly3/firefly3.pre-install
@@ -1,9 +1,9 @@
#!/bin/sh
-user=www-data
-group=www-data
+user=firefly
+group=firefly
addgroup -S $group 2>/dev/null
-adduser -S -D -h /var/lib/$user -s /sbin/nologin -G $group -g $user $user 2>/dev/null
+adduser -S -D -h /var/lib/"$user"3 -s /sbin/nologin -G $group -g $user $user 2>/dev/null
exit 0