lib/mixlib/install/generator/bourne/scripts/artifactory_urls.sh.erb in mixlib-install-0.8.0.alpha.7 vs lib/mixlib/install/generator/bourne/scripts/artifactory_urls.sh.erb in mixlib-install-0.8.0.alpha.8
- old
+ new
@@ -10,22 +10,19 @@
# $machine:
#
# Outputs:
# $download_url:
# $sha256:
-# $md5:
############
<% artifacts.each do |artifact| %>
artifact_info_dir="$tmp_dir/artifact_info/<%= File.join(artifact.platform, artifact.platform_version, artifact.architecture)%>"
mkdir -p $artifact_info_dir
touch "$artifact_info_dir/artifact_info"
echo "url <%= artifact.url%>" >> "$artifact_info_dir/artifact_info"
- echo "md5 <%= artifact.md5%>" >> "$artifact_info_dir/artifact_info"
echo "sha256 <%= artifact.sha256%>" >> "$artifact_info_dir/artifact_info"
<% end %>
artifact_info_for_platform="$tmp_dir/artifact_info/$platform/$platform_version/$machine/artifact_info"
download_url=`awk '$1 == "url" { print $2 }' "$artifact_info_for_platform"`
sha256=`awk '$1 == "sha256" { print $2 }' "$artifact_info_for_platform"`
-md5=`awk '$1 == "md5" { print $2 }' "$artifact_info_for_platform"`