diff options
author | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2023-04-24 20:29:33 +0200 |
---|---|---|
committer | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2023-04-24 20:29:33 +0200 |
commit | 3e74fa3b3f4c1069616495decb06d601526986bd (patch) | |
tree | b458bb0985c0978358479e950a53c258238039e5 /apks/firefly3/firefly3.pre-install | |
parent | e89c3ae528d667a63b9716653f9f926bf416f2ee (diff) | |
download | apkbuilds-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-install | 6 |
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 |