diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2016-01-26 10:44:20 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-01-26 10:44:20 -0500 |
commit | 9a4b98287476774483df6b1bbf5a8410f86f47bc (patch) | |
tree | cd44c600cad038a8ac8eb59fb8d7b515ab0ab233 | |
parent | 7fadef46ffe9c6bedbcb624630b321ac009a8640 (diff) | |
download | pfsense-9a4b98287476774483df6b1bbf5a8410f86f47bc.zip pfsense-9a4b98287476774483df6b1bbf5a8410f86f47bc.tar.gz |
Fixed #5335
-rw-r--r-- | src/usr/local/www/system_update_settings.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/usr/local/www/system_update_settings.php b/src/usr/local/www/system_update_settings.php index bdd4ac7..4133234 100644 --- a/src/usr/local/www/system_update_settings.php +++ b/src/usr/local/www/system_update_settings.php @@ -69,8 +69,10 @@ 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); } } |