Merge pull request #20 from josevavia/custom-mirror-opts

Custom mirror opts
This commit is contained in:
Christoph Schlosser 2020-10-25 14:46:13 +01:00 committed by GitHub
commit 650ed37743
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,5 +58,5 @@ lftp -e "set xfer:log 1; \
set ssl:check-hostname $PLUGIN_VERIFY; \
set net:max-retries 3; \
$PLUGIN_CLEAN_DIR; \
mirror --verbose $PLUGIN_CHMOD -R $PLUGIN_INCLUDE_STR $PLUGIN_EXCLUDE_STR $(pwd)$PLUGIN_SRC_DIR $PLUGIN_DEST_DIR" \
mirror --verbose $PLUGIN_CHMOD -R $PLUGIN_MIRROR_OPTS $PLUGIN_INCLUDE_STR $PLUGIN_EXCLUDE_STR $(pwd)$PLUGIN_SRC_DIR $PLUGIN_DEST_DIR" \
-u $FTP_USERNAME,$FTP_PASSWORD $PLUGIN_HOSTNAME