# File lib/puppet/provider/package/fink.rb, line 24
24:     def install
25:         if @resource[:responsefile]
26:             self.run_preseed
27:         end
28:         should = @resource.should(:ensure)
29: 
30:         str = @resource[:name]
31:         case should
32:         when true, false, Symbol
33:             # pass
34:         else
35:             # Add the package version
36:             str += "=%s" % should
37:         end
38:         cmd = %w{-b -q -y}
39: 
40:         keep = ""
41: 
42:         cmd << :install << str
43: 
44:         finkcmd(cmd)
45:     end