summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-05-11 14:02:09 -0300
committerRenato Botelho <renato@netgate.com>2016-05-11 14:02:09 -0300
commit1a543cea408ef1a019691b33f5c979052d1c2420 (patch)
treed591638ee4294e0609b5b8aa49820d67693ed460 /src
parent48d321ca07838e42e26c41be226a5ffbab61f497 (diff)
downloadpfsense-1a543cea408ef1a019691b33f5c979052d1c2420.zip
pfsense-1a543cea408ef1a019691b33f5c979052d1c2420.tar.gz
Do not call pkg_update() here since pkg_switch_repo() aldready does it
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/system_update_settings.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/usr/local/www/system_update_settings.php b/src/usr/local/www/system_update_settings.php
index 15ae75a..be72d41 100644
--- a/src/usr/local/www/system_update_settings.php
+++ b/src/usr/local/www/system_update_settings.php
@@ -72,10 +72,8 @@ if ($_POST) {
if ($_POST['fwbranch']) {
if (($_POST['fwbranch'] == "development") && !is_pkg_installed($g['product_name'] . "-repo-devel")) {
pkg_switch_repo(true);
- pkg_update(true);
} else if (($_POST['fwbranch'] == "stable") && !is_pkg_installed($g['product_name'] . "-repo")) {
pkg_switch_repo(false);
- pkg_update(true);
}
}
OpenPOWER on IntegriCloud