mirror of
https://github.com/spalencsar/bearwave.git
synced 2026-07-06 22:24:17 +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 \
|
rsync -avz \
|
||||||
-e 'ssh -o RemoteCommand=none -o RequestTTY=no' \
|
-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' \
|
--exclude='.lock' \
|
||||||
flatpak_repo/ \
|
flatpak_repo/ \
|
||||||
"${deploy_target}"
|
"${deploy_target}"
|
||||||
@@ -27,7 +27,7 @@ for ref_file in bearwave.flatpakref flatpak_repo/bearwave.flatpakref flatpak_rep
|
|||||||
if [[ -f "${ref_file}" ]]; then
|
if [[ -f "${ref_file}" ]]; then
|
||||||
rsync -avz \
|
rsync -avz \
|
||||||
-e 'ssh -o RemoteCommand=none -o RequestTTY=no' \
|
-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}" \
|
"${ref_file}" \
|
||||||
"${deploy_target}$(basename "${ref_file}")"
|
"${deploy_target}$(basename "${ref_file}")"
|
||||||
echo "Deployed ${ref_file} to ${deploy_target}"
|
echo "Deployed ${ref_file} to ${deploy_target}"
|
||||||
|
|||||||
Reference in New Issue
Block a user