Vokigas alian helposkripton, dum alŝutado

This commit is contained in:
Jaidyn Ann 2024-01-31 01:27:45 -06:00
parent 05c82ab425
commit e24cbb7039

View File

@ -3,6 +3,7 @@
RSYNC_DRYRUN="--dry-run" RSYNC_DRYRUN="--dry-run"
if test "$1" = "--real"; then if test "$1" = "--real"; then
RSYNC_DRYRUN="" RSYNC_DRYRUN=""
ssh $(whoami)@xwx.moe /usr/local/bin/update-forgejo-perms
fi fi
rsync $RSYNC_DRYRUN --recursive --delete --archive --verbose custom $(whoami)@xwx.moe:/var/lib/forgejo/ rsync $RSYNC_DRYRUN --recursive --delete --archive --verbose custom $(whoami)@xwx.moe:/var/lib/forgejo/