lib/kpm/installer.rb in kpm-0.2.3 vs lib/kpm/installer.rb in kpm-0.2.4

- old
+ new

@@ -50,11 +50,12 @@ super(logger, nexus_config, nexus_ssl_verify) end def install(force_download=false, verify_sha1=true) + bundles_dir = !@config.nil? ? @config['plugins_dir'] : (!@kaui_config.nil? ? @kaui_config['plugins_dir'] : nil) + bundles_dir ||= DEFAULT_BUNDLES_DIR - bundles_dir = @config['plugins_dir'] || DEFAULT_BUNDLES_DIR help = nil unless @config.nil? help = install_tomcat if @config['webapp_path'].nil? install_killbill_server(@config['group_id'], @config['artifact_id'], @config['packaging'], @config['classifier'], @config['version'], @config['webapp_path'], bundles_dir, force_download, verify_sha1) install_plugins(bundles_dir, force_download, verify_sha1)