diff --git a/root/live-update.sh b/root/live-update.sh index ea3e04c..5d33ba9 100644 --- a/root/live-update.sh +++ b/root/live-update.sh @@ -3,7 +3,7 @@ gitUrl="https://git.stormux.org/storm/gaming-image-files" gitPath="${gitUrl##*/}" pushd /tmp -sudo -u stormux git clone "${gitUrl}" +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 --parents "${i}" /;done' _ {} \;