lib/mixlib/install/generator.rb in mixlib-install-0.8.0.alpha.2 vs lib/mixlib/install/generator.rb in mixlib-install-0.8.0.alpha.3

- old
+ new

@@ -14,15 +14,20 @@ # See the License for the specific language governing permissions and # limitations under the License. # require "mixlib/install/generator/bourne" +require "mixlib/install/generator/powershell" module Mixlib class Install class Generator def self.install_command(options) - Bourne.new(options).install_command + if options.for_ps1? + PowerShell.new(options).install_command + else + Bourne.new(options).install_command + end end end end end