Add __DPL_ACTIVE condition to optional asset download

This commit is contained in:
mazmazz 2019-01-02 20:48:00 -05:00
parent 3a0217c8c8
commit b8fe77b6e2
1 changed files with 1 additions and 1 deletions

View File

@ -616,7 +616,7 @@ before_script:
fi;
# Get optional files too
- if [[ "$ASSET_FILES_OPTIONAL_GET" == "1" ]] && [[ "$ASSET_ARCHIVE_OPTIONAL_PATH" != "" ]]; then
- if [[ "$__DPL_ACTIVE" == "1" ]] && [[ "$ASSET_FILES_OPTIONAL_GET" == "1" ]] && [[ "$ASSET_ARCHIVE_OPTIONAL_PATH" != "" ]]; then
if [ -f "$(basename $ASSET_ARCHIVE_OPTIONAL_PATH)" ]; then
echo "$(basename $ASSET_ARCHIVE_OPTIONAL_PATH) cache date -- $($STATCMD $(basename $ASSET_ARCHIVE_OPTIONAL_PATH))";
fi;