lib/dockly/rpm.rb in dockly-3.0.4 vs lib/dockly/rpm.rb in dockly-3.0.5

- old
+ new

@@ -8,9 +8,18 @@ def output_filename "#{package_name}_#{version}.#{release}_#{arch}.rpm" end + def startup_script + scripts = [] + bb = Dockly::BashBuilder.new + scripts << bb.normalize_for_dockly + scripts << bb.get_and_install_rpm(s3_url, "/opt/dockly/#{File.basename(s3_url)}") + + scripts.join("\n") + end + private def convert_package debug "converting to rpm" @deb_package = @dir_package.convert(FPM::Package::RPM)