summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-02-19 17:08:34 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-02-19 17:08:34 +0000
commit06e2abdbc07c727fd55d213008ecfe0a604ed6af (patch)
tree89619430d22cae86387738f5a93cbf292735d275 /usr
parentb7f8003d1393f80c7555e3a5bdcbc2f40d88524d (diff)
downloadpfsense-06e2abdbc07c727fd55d213008ecfe0a604ed6af.zip
pfsense-06e2abdbc07c727fd55d213008ecfe0a604ed6af.tar.gz
Additional logging during installation for additional files needed
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/pkg_mgr_install.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php
index 6ca0fd6..63743b0 100755
--- a/usr/local/www/pkg_mgr_install.php
+++ b/usr/local/www/pkg_mgr_install.php
@@ -424,10 +424,13 @@ foreach ($packages_to_install as $id) {
update_progress_bar($pb_percent);
$pb_percent += 10;
$filename = get_filename_from_url($afn);
+ fwrite($fd_log, "Downloading additional files needed for package " . $filename . " ...");
update_status("Downloading additional files needed for package " . $filename . " ...");
system("cd /usr/local/pkg && /usr/bin/fetch " . $afn . " 2>/dev/null");
- if(stristr($filename, '.tgz') <> "")
+ if(stristr($filename, '.tgz') <> "") {
+ update_status("Extracting tgz archive to -C for " . $filename);
system("cd /usr/local/pkg && tar xzvf " . $filename . " -C / >/dev/null 2>&1");
+ }
}
}
OpenPOWER on IntegriCloud