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:
parent
bb69c0b907
commit
95d90a7876
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user