diff options
author | Renato Botelho <renato@netgate.com> | 2015-10-14 14:43:12 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-10-14 14:43:24 -0300 |
commit | cc31f1c3a01ebdccacc2c193d00d35ad8974b476 (patch) | |
tree | 8b5413d126aad897ce2831fc8ccda85b60392170 /src/etc/inc | |
parent | a955944077507b434f1870ae6002b714c78b7648 (diff) | |
download | pfsense-cc31f1c3a01ebdccacc2c193d00d35ad8974b476.zip pfsense-cc31f1c3a01ebdccacc2c193d00d35ad8974b476.tar.gz |
Disable repo auto update
Diffstat (limited to 'src/etc/inc')
-rw-r--r-- | src/etc/inc/pkg-utils.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/etc/inc/pkg-utils.inc b/src/etc/inc/pkg-utils.inc index 5d6dc81..396b0c3 100644 --- a/src/etc/inc/pkg-utils.inc +++ b/src/etc/inc/pkg-utils.inc @@ -154,7 +154,8 @@ function pkg_call($params, $mute = false) { $env = array( "HTTP_USER_AGENT" => $user_agent, - "ASSUME_ALWAYS_YES" => "true" + "ASSUME_ALWAYS_YES" => "true", + "REPO_AUTOUPDATE" => "false" ); $debug_fifo = $g['tmp_path'] . "/pkg-debug.fifo"; @@ -260,7 +261,8 @@ function pkg_exec($params, &$stdout, &$stderr) { $env = array( "HTTP_USER_AGENT" => $user_agent, - "ASSUME_ALWAYS_YES" => "true" + "ASSUME_ALWAYS_YES" => "true", + "REPO_AUTOUPDATE" => "false" ); $debug_fifo = $g['tmp_path'] . "/pkg-debug.fifo"; |