From 9e82515081ef6f2aec6e8f5e9bb49c4572e4e8ea Mon Sep 17 00:00:00 2001 From: Tino Vazquez Date: Thu, 12 Apr 2018 18:45:53 +0200 Subject: [PATCH] Do not decompress images in the http marketplace backend --- src/market_mad/remotes/http/import | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/market_mad/remotes/http/import b/src/market_mad/remotes/http/import index 30316224a6..030ce3c08b 100755 --- a/src/market_mad/remotes/http/import +++ b/src/market_mad/remotes/http/import @@ -75,7 +75,7 @@ SOURCE="${BASE_URL%/}/${APPNAME}" if [ -n "$BRIDGE_LIST" ]; then DST_HOST=`get_destination_host $ID` - CP_CMD="$UTILS_PATH/downloader.sh '${IMPORT_SOURCE}' -" + CP_CMD="$UTILS_PATH/downloader.sh -n '${IMPORT_SOURCE}' -" exec_and_log "eval $CP_CMD | $SSH ${DST_HOST} $DD of=${DST_PATH} bs=64k" \ "Error dumping ${IMPORT_SOURCE} to ${DST_HOST}:${DST_PATH}" @@ -84,7 +84,7 @@ if [ -n "$BRIDGE_LIST" ]; then #TODO This should call a ds operation #fi else - CP_CMD="$UTILS_PATH/downloader.sh ${IMPORT_SOURCE} ${DST_PATH}" + CP_CMD="$UTILS_PATH/downloader.sh -n ${IMPORT_SOURCE} ${DST_PATH}" exec_and_log "$CP_CMD" "Error copying ${IMPORT_SOURCE} to ${DST_PATH}" if [ "${DISPOSE}" = "YES" ]; then