mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Do not call pkg_update() here since pkg_switch_repo() aldready does it
This commit is contained in:
parent
48d321ca07
commit
1a543cea40
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user