live-update skips the image path so I can have files that do not get deployed to the system.
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ git clone "${gitUrl}"
|
|||||||
pushd "${gitPath}"
|
pushd "${gitPath}"
|
||||||
git lfs pull
|
git lfs pull
|
||||||
# Copy all files as root (preserves permissions properly)
|
# 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
|
# Fix ownership of home directory files
|
||||||
chown -R stormux:users /home/stormux
|
chown -R stormux:users /home/stormux
|
||||||
popd
|
popd
|
||||||
|
|||||||
Reference in New Issue
Block a user