mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 05:04:56 +09:00
development: Fix double download on linuxcontainers marketplace
This commit is contained in:
1 parent
b0410dfab5
commit
f6f10bd02c
1 file changed
+2
-1
@@ -329,6 +329,7 @@ vcenter://*)
|
||||
command="$VAR_LOCATION/remotes/datastore/vcenter_downloader.rb '$(esc_sq "$FROM")'"
|
||||
;;
|
||||
lxd://*)
|
||||
file_type="application/octet-stream"
|
||||
command="$VAR_LOCATION/remotes/datastore/lxd_downloader.sh \"$FROM\""
|
||||
;;
|
||||
*)
|
||||
@@ -340,7 +341,7 @@ lxd://*)
|
||||
;;
|
||||
esac
|
||||
|
||||
file_type=$(get_type "$command")
|
||||
[ -z "$file_type" ] && file_type=$(get_type "$command")
|
||||
decompressor=$(get_decompressor "$file_type")
|
||||
|
||||
if [ -z "${MAX_SIZE}" ]; then
|
||||
|
||||
Reference in new issue
Block a user