From d548235dfebf9b0819377ee7aaca8f7285b63fce Mon Sep 17 00:00:00 2001 From: CroneKorkN Date: Sun, 10 May 2026 18:51:05 +0200 Subject: [PATCH] left4me: declare /opt/left4me/src as a directory: item MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit bw's git_deploy item assumes the destination directory exists on the host — its fix path runs `find -mindepth 1 -delete` to clear existing contents before unpacking the new archive, which fails on a fresh box where the directory was never created. Flask follows the same pattern (bundles/flask/items.py:13). --- bundles/left4me/items.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bundles/left4me/items.py b/bundles/left4me/items.py index c4d8595..9544ec0 100644 --- a/bundles/left4me/items.py +++ b/bundles/left4me/items.py @@ -7,6 +7,10 @@ directories = { 'owner': 'left4me', 'group': 'left4me', }, + '/opt/left4me/src': { + 'owner': 'left4me', + 'group': 'left4me', + }, '/etc/left4me': { 'owner': 'root', 'group': 'root',