From 8bfb6b9bd5333085c5cccbffdb298fd1c37997a5 Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Mon, 7 Nov 2022 20:25:24 +0000 Subject: fix: Fix firefly location and permission Firefly was being copied into the wrong folder with root permission. Now it is on `www` which is what I use for it. --- apks/firefly3/firefly3.pre-install | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 apks/firefly3/firefly3.pre-install (limited to 'apks/firefly3/firefly3.pre-install') diff --git a/apks/firefly3/firefly3.pre-install b/apks/firefly3/firefly3.pre-install new file mode 100644 index 0000000..74f1b59 --- /dev/null +++ b/apks/firefly3/firefly3.pre-install @@ -0,0 +1,9 @@ +#!/bin/sh + +user=www-data +group=www-data + +addgroup -S $group 2>/dev/null +adduser -S -D -h /var/lib/$user -s /sbin/nologin -G $group -g $user $user 2>/dev/null + +exit 0 -- cgit v1.2.3