mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 04:12:37 +09:00
Make fs_size compatible with other marketplaces
This commit is contained in:
1 parent
bb69c0b907
commit
95d90a7876
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user