summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-02-19 17:24:37 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-02-19 17:24:37 +0000
commit4075d9c10f6bdf19e416d0e33860ff9b0f9c619f (patch)
tree6e0c8ed92ec86f49b50af893c1e23311cf6c8670 /usr/local
parentee8f78248237468b0d301fe509513b8df76362ad (diff)
downloadpfsense-4075d9c10f6bdf19e416d0e33860ff9b0f9c619f.zip
pfsense-4075d9c10f6bdf19e416d0e33860ff9b0f9c619f.tar.gz
Log when the package installation untars an archive
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/pkg_mgr_install.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php
index bcb7542..4403f23 100755
--- a/usr/local/www/pkg_mgr_install.php
+++ b/usr/local/www/pkg_mgr_install.php
@@ -430,8 +430,9 @@ foreach ($packages_to_install as $id) {
fwrite($fd_log, "Downloading additional files needed for package " . $filename . " ...\n");
update_status("Downloading additional files needed for package " . $filename . " ...\n");
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);
+ fwrite($fd_log, "Extracting tgz archive to -C for " . $filename . " ...\n");
system("cd /usr/local/pkg && tar xzvf " . $filename . " -C / >/dev/null 2>&1");
}
}
OpenPOWER on IntegriCloud