live-update skips the image path so I can have files that do not get deployed to the system.

This commit is contained in:
Storm Dragon
2025-07-17 15:03:49 -04:00
parent f343ae2b60
commit 92d45a3d82
+1 -1
View File
@@ -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