From 92d45a3d82c31fa84894c72c0550c9942d1a60f8 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 17 Jul 2025 15:03:49 -0400 Subject: [PATCH] live-update skips the image path so I can have files that do not get deployed to the system. --- root/live-update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/live-update.sh b/root/live-update.sh index 40f0002..448757d 100644 --- a/root/live-update.sh +++ b/root/live-update.sh @@ -7,7 +7,7 @@ git clone "${gitUrl}" pushd "${gitPath}" git lfs pull # Copy all files as root (preserves permissions properly) -find . -path './.git' -prune -o -type f -exec bash -c 'for i ; do cp -av --preserve=all --parents "${i}" /;done' _ "{}" \; +find . -path './.git' -prune -o -path './image' -prune -o -type f -exec bash -c 'for i ; do cp -av --preserve=all --parents "${i}" /;done' _ "{}" \; # Fix ownership of home directory files chown -R stormux:users /home/stormux popd