From 95d90a7876eae858e973139e81ea8c8e99ced724 Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Wed, 26 Sep 2012 12:14:58 +0200 Subject: [PATCH] Make fs_size compatible with other marketplaces --- src/datastore_mad/remotes/libfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/datastore_mad/remotes/libfs.sh b/src/datastore_mad/remotes/libfs.sh index a4fea5ea2f..394b7a3d3b 100644 --- a/src/datastore_mad/remotes/libfs.sh +++ b/src/datastore_mad/remotes/libfs.sh @@ -95,7 +95,7 @@ function fs_size { BASE_URL=${1%%/download} HEADERS=`wget -S --spider --no-check-certificate $BASE_URL 2>&1` - echo $HEADERS | grep "opennebula_marketplace" > /dev/null 2>&1 + echo $HEADERS | grep "market" > /dev/null 2>&1 if [ $? -eq 0 ]; then #URL is from market place