Updated the files update script.

This commit is contained in:
Storm Dragon
2025-07-15 14:36:11 -04:00
parent e1c42cfc7e
commit a63172c797

View File

@@ -6,7 +6,7 @@ pushd /tmp
sudo -u stormux git clone "${gitUrl}"
pushd "${gitPath}"
# 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 "${i}" "/${i#./}";done' _ {} \;
find . -path './.git' -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