    # File lib/chef/provider/package/ips.rb, line 73
            def install_package(name, version)
              package_name = "#{name}@#{version}"
              normal_command = "pkg#{expand_options(@new_resource.options)} install -q #{package_name}"
              if @new_resource.respond_to?(:accept_license) and @new_resource.accept_license
                command = normal_command.gsub('-q', '-q --accept')
              else
                command = normal_command
              end
              begin
                run_command_with_systems_locale(:command => command)
              rescue
              end
            end