From 18d18887f69659da1a45bd062401e22c4c8425ae Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Tue, 13 May 2014 15:06:30 -0300 Subject: [PATCH] community_hub: set default value for NO_PROXY --- plugins/community_hub/script/hub_updater | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/community_hub/script/hub_updater b/plugins/community_hub/script/hub_updater index f1e5dc4..b4c0fe3 100755 --- a/plugins/community_hub/script/hub_updater +++ b/plugins/community_hub/script/hub_updater @@ -7,6 +7,9 @@ NOOSFERO_ROOT = File.expand_path(File.dirname(__FILE__) + '/../../../') Daemons.run_proc('hub') do require NOOSFERO_ROOT + '/config/environment' - require 'proxifier/env' unless ENV['PROXY'].blank? + unless ENV['PROXY'].blank? + ENV['NO_PROXY'] ||= 'localhost' + require 'proxifier/env' + end CommunityHubPlugin::Listener.run end -- libgit2 0.21.2