Make fs_size compatible with other marketplaces

This commit is contained in:
Ruben S. Montero committed 2012-09-26 12:14:58 +02:00
1 parent bb69c0b907
commit 95d90a7876
1 file changed
+1 -1
+1 -1
View File
@@ -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