diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-02-19 17:08:34 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-02-19 17:08:34 +0000 |
commit | 06e2abdbc07c727fd55d213008ecfe0a604ed6af (patch) | |
tree | 89619430d22cae86387738f5a93cbf292735d275 /usr | |
parent | b7f8003d1393f80c7555e3a5bdcbc2f40d88524d (diff) | |
download | pfsense-06e2abdbc07c727fd55d213008ecfe0a604ed6af.zip pfsense-06e2abdbc07c727fd55d213008ecfe0a604ed6af.tar.gz |
Additional logging during installation for additional files needed
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/pkg_mgr_install.php | 5 |
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"); + } } } |