summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-10-14 14:43:12 -0300
committerRenato Botelho <renato@netgate.com>2015-10-14 14:43:24 -0300
commitcc31f1c3a01ebdccacc2c193d00d35ad8974b476 (patch)
tree8b5413d126aad897ce2831fc8ccda85b60392170
parenta955944077507b434f1870ae6002b714c78b7648 (diff)
downloadpfsense-cc31f1c3a01ebdccacc2c193d00d35ad8974b476.zip
pfsense-cc31f1c3a01ebdccacc2c193d00d35ad8974b476.tar.gz
Disable repo auto update
-rw-r--r--src/etc/inc/pkg-utils.inc6
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";
OpenPOWER on IntegriCloud