mirror of
https://github.com/spalencsar/bearwave.git
synced 2026-07-06 14:24:14 +02:00
fix(flatpak): avoid rsync permission errors during deploy
Use --no-perms and --no-times when syncing the signed repo to hosting.
This commit is contained in:
@@ -18,7 +18,7 @@ fi
|
||||
|
||||
rsync -avz \
|
||||
-e 'ssh -o RemoteCommand=none -o RequestTTY=no' \
|
||||
--no-group --no-owner --omit-dir-times \
|
||||
--no-group --no-owner --omit-dir-times --no-perms --no-times \
|
||||
--exclude='.lock' \
|
||||
flatpak_repo/ \
|
||||
"${deploy_target}"
|
||||
@@ -27,7 +27,7 @@ for ref_file in bearwave.flatpakref flatpak_repo/bearwave.flatpakref flatpak_rep
|
||||
if [[ -f "${ref_file}" ]]; then
|
||||
rsync -avz \
|
||||
-e 'ssh -o RemoteCommand=none -o RequestTTY=no' \
|
||||
--no-group --no-owner --omit-dir-times \
|
||||
--no-group --no-owner --omit-dir-times --no-perms --no-times \
|
||||
"${ref_file}" \
|
||||
"${deploy_target}$(basename "${ref_file}")"
|
||||
echo "Deployed ${ref_file} to ${deploy_target}"
|
||||
|
||||
Reference in New Issue
Block a user