1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Make fs_size compatible with other marketplaces

This commit is contained in:
Ruben S. Montero 2012-09-26 12:14:58 +02:00
parent bb69c0b907
commit 95d90a7876

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