summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-02-20 22:28:02 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-02-20 22:28:02 +0000
commit0025d774aa3adb94af7276e282cba6a489948c87 (patch)
treeb613602f21f4d757bd4e95c59aebbd35d31a4ba9 /usr
parent0d8389558d0eaa2c9547fdb9e4b45e5f62adf014 (diff)
downloadpfsense-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-xusr/local/www/pkg_mgr_install.php8
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");
OpenPOWER on IntegriCloud