freebsd-ports/net/foreman-proxy/files/patch-lib_proxy_http__download.rb
Sunpoet Po-Chuan Hsieh 25c2ed5e97 Update to 1.15.0
- While I'm here:
  - Fix shebang
  - Fix and sort PLIST
  - Regenerate patch files with makepatch:

Changes:	https://theforeman.org/manuals/1.15/index.html#release-notes-for-115
PR:		219329
Submitted by:	Frank Wall <fw@moov.de>
2017-05-19 15:46:31 +00:00

11 lines
396 B
Ruby

--- lib/proxy/http_download.rb.orig 2017-05-08 15:18:42 UTC
+++ lib/proxy/http_download.rb
@@ -6,7 +6,7 @@ module Proxy
def initialize(src, dst)
@dst = dst
- wget = which("wget")
+ wget = "%%LOCALBASE%%/bin/wget"
super("#{wget} --timeout=10 --tries=3 --no-check-certificate -nv -c \"#{escape_for_shell(src.to_s)}\" -O \"#{escape_for_shell(dst.to_s)}\"")
end