diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-02-20 22:28:02 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-02-20 22:28:02 +0000 |
commit | 0025d774aa3adb94af7276e282cba6a489948c87 (patch) | |
tree | b613602f21f4d757bd4e95c59aebbd35d31a4ba9 /usr | |
parent | 0d8389558d0eaa2c9547fdb9e4b45e5f62adf014 (diff) | |
download | pfsense-0025d774aa3adb94af7276e282cba6a489948c87.zip pfsense-0025d774aa3adb94af7276e282cba6a489948c87.tar.gz |
Add upgrade package support. Still needs an indicator on the installed packages screen.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/pkg_mgr_install.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php index c75bf26..e8e10e9 100755 --- a/usr/local/www/pkg_mgr_install.php +++ b/usr/local/www/pkg_mgr_install.php @@ -88,13 +88,7 @@ $fd_log = fopen("/tmp/pkg_mgr.log", "w"); if(!$fd_log) log_error("Warning, could not open /tmp/pkg_mgr.log for writing"); fwrite($fd_log, "Begin of Package Manager installation session.\n"); -if(!file_exists("/tmp/pkg_config.xml")) { - mwexec("cd {$g['tmp_path']} && /usr/bin/fetch \"http://www.pfsense.com/packages/pkg_config.xml\" >/dev/null 2>&1 "); - if(!file_exists("{$g['tmp_path']}/pkg_config.xml")) { - print_info_box_np("Could not download pkg_config.xml from pfSense.com. Check your DNS settings."); - die; - } -} +fetch_latest_pkg_config(); $pkg_config = parse_xml_config_pkg("{$g['tmp_path']}/pkg_config.xml", "pfsensepkgs"); |