lib/kpm/base_installer.rb in kpm-0.7.1 vs lib/kpm/base_installer.rb in kpm-0.7.2

- old
+ new

@@ -221,10 +221,11 @@ packaging = 'tar.gz' classifier = nil version = specified_version if version.nil? || version == LATEST_VERSION - info = KPM::KillbillServerArtifact.info(kb_version || LATEST_VERSION, @nexus_config, @nexus_ssl_verify) + sha1_file = "#{bundles_dir}/#{SHA1_FILENAME}" + info = KPM::KillbillServerArtifact.info(kb_version || LATEST_VERSION, sha1_file, force_download, verify_sha1, @nexus_config, @nexus_ssl_verify) version = info['killbill-platform'] end version ||= LATEST_VERSION bundles_dir = Pathname.new(bundles_dir || DEFAULT_BUNDLES_DIR).expand_path