lib/nginxtra/actions/install.rb in nginxtra-1.2.0.1 vs lib/nginxtra/actions/install.rb in nginxtra-1.2.1.2

- old
+ new

@@ -9,9 +9,12 @@ # Run the installation of nginxtra, but only after first # prompting if the user wants the install. This will do nothing # if run with --non-interactive mode. def optional_install return installation_skipped if non_interactive? + # TODO: Raise an error if nginx is determined to be installed + # (via /etc/init.d/nginx perhaps... but allow ignoring this + # check). return up_to_date unless should_install? return unless requesting_install? install end