aboutsummaryrefslogtreecommitdiff
path: root/apks/firefly3/firefly3.post-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.post-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.post-install')
-rw-r--r--apks/firefly3/firefly3.post-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/apks/firefly3/firefly3.post-install b/apks/firefly3/firefly3.post-install
index c74ae13..a92883d 100644
--- a/apks/firefly3/firefly3.post-install
+++ b/apks/firefly3/firefly3.post-install
@@ -3,4 +3,10 @@
printf " *\n * Add the configration to '/etc/firefly3/env' \n"
printf " * Without it firefly3 won't run.\n *\n"
+user=firefly
+group=firefly
+
+chown $user:$group /usr/share/webapps/firefly3
+chown $user:$group /var/lib/firefly3
+
exit 0