mirror of
https://git.freebsd.org/ports.git
synced 2025-06-22 13:10:31 -04:00
15 lines
577 B
Text
15 lines
577 B
Text
--- lib/puppet/provider/package/ports.rb.orig Tue Aug 7 21:52:46 2007
|
|
+++ lib/puppet/provider/package/ports.rb Tue Aug 7 21:53:49 2007
|
|
@@ -17,11 +17,9 @@
|
|
end
|
|
|
|
def install
|
|
- # -p: create a package
|
|
# -N: install if the package is missing, otherwise upgrade
|
|
- # -P: prefer binary packages
|
|
# -M: yes, we're a batch, so don't ask any questions
|
|
- cmd = %w{-p -N -P -M BATCH=yes} << @resource[:name]
|
|
+ cmd = %w{-N -M BATCH=yes} << @resource[:name]
|
|
|
|
output = portupgrade(*cmd)
|
|
if output =~ /\*\* No such /
|