tsumugu.sh: update permission
Some checks failed
docker-images / multi (., tunasync-scripts) (push) Has been cancelled
docker-images / multi (bandersnatch) (push) Has been cancelled
docker-images / multi (dockerfiles/rubygems, rubygems-mirror) (push) Has been cancelled
docker-images / multi (ftpsync) (push) Has been cancelled
docker-images / multi (nix-channels) (push) Has been cancelled
docker-images / multi (pub-mirror) (push) Has been cancelled
docker-images / multi (rustup-mirror) (push) Has been cancelled
docker-images / multi (shadowmire) (push) Has been cancelled
docker-images / multi (tsumugu) (push) Has been cancelled

Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
This commit is contained in:
Shengqi Chen 2024-09-03 16:56:38 +08:00
parent d084872390
commit 6ce24fe0ab
No known key found for this signature in database
GPG Key ID: 6EE389C0F18AF774

2
tsumugu.sh Normal file → Executable file
View File

@ -19,4 +19,4 @@ export NO_COLOR=1
[ ! -d "${TUNASYNC_WORKING_DIR}" ] && mkdir -p "${TUNASYNC_WORKING_DIR}"
cd ${TUNASYNC_WORKING_DIR}
tsumugu sync $TUNASYNC_TSUMUGU_TIMEZONEFILE --user-agent "$TUNASYNC_TSUMUGU_USERAGENT" --max-delete "$TUNASYNC_TSUMUGU_MAXDELETE" --parser "$TUNASYNC_TSUMUGU_PARSER" --threads "$TUNASYNC_TSUMUGU_THREADS" $TUNASYNC_TSUMUGU_EXCLUDE $TUNASYNC_TSUMUGU_OPTIONS "$TUNASYNC_UPSTREAM_URL" "$TUNASYNC_WORKING_DIR"
exec tsumugu sync $TUNASYNC_TSUMUGU_TIMEZONEFILE --user-agent "$TUNASYNC_TSUMUGU_USERAGENT" --max-delete "$TUNASYNC_TSUMUGU_MAXDELETE" --parser "$TUNASYNC_TSUMUGU_PARSER" --threads "$TUNASYNC_TSUMUGU_THREADS" $TUNASYNC_TSUMUGU_EXCLUDE $TUNASYNC_TSUMUGU_OPTIONS "$TUNASYNC_UPSTREAM_URL" "$TUNASYNC_WORKING_DIR"