| 1 |
Fromscip-debian debian caddy 2.11.4-1 caddy/patches/`0006-postinst.sh-Do-not-call-chown-recursively.patch`#From.: Peymaneh <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 2 |
Datescip-debian debian caddy 2.11.4-1 caddy/patches/`0006-postinst.sh-Do-not-call-chown-recursively.patch`#Date.: Sat, 17 Dec 2022 16:22:55 +0100 |
| 3 |
Subjectscip-debian debian caddy 2.11.4-1 caddy/patches/`0006-postinst.sh-Do-not-call-chown-recursively.patch`#Subject.: postinst.sh: Do not call chown recursively |
| 4 |
|
| 5 |
forwarded: not-needed |
| 6 |
--- |
| 7 |
dist/scripts/postinstall.sh | 4 ++-- |
| 8 |
1 file changed, 2 insertions(+), 2 deletions(-) |
| 9 |
|
| 10 |
--- a/dist/scripts/postinstall.shscip-debian debian caddy 2.11.4-1 caddy/upstream/`dist/scripts/postinstall.sh`: |
| 11 |
+++ b/dist/scripts/postinstall.shscip-debian debian caddy 2.11.4-1 caddy/upstream/`dist/scripts/postinstall.sh`: |
| 12 |
@@ -22,7 +22,7 @@ |
| 13 |
# Add log directory with correct permissions |
| 14 |
if [ ! -d /var/log/caddy ]; then |
| 15 |
mkdir -p /var/log/caddy |
| 16 |
|
| 17 |
+ chown caddy:caddy /var/log/caddy |
| 18 |
fi |
| 19 |
fi |
| 20 |
|
| 21 |
@@ -52,4 +52,4 @@ |
| 22 |
deb-systemd-invoke try-restart caddy-api.service >/dev/null || true |
| 23 |
fi |
| 24 |
fi |
| 25 |
|
| 26 |
|
| 27 |
+fi |