diff options
author | Renato Botelho <renato@netgate.com> | 2016-05-11 14:02:09 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-05-11 14:02:09 -0300 |
commit | 1a543cea408ef1a019691b33f5c979052d1c2420 (patch) | |
tree | d591638ee4294e0609b5b8aa49820d67693ed460 /src | |
parent | 48d321ca07838e42e26c41be226a5ffbab61f497 (diff) | |
download | pfsense-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.php | 2 |
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); } } |