summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-02-19 17:18:59 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-02-19 17:18:59 +0000
commiteb6116e15f4fc3955561c45b59d491fc22cb49a2 (patch)
tree466a3c431eb06c448557ca1154a8e3bbc48401bc
parent866d2813b9a8babdd376286e41a2719f114742e0 (diff)
downloadpfsense-eb6116e15f4fc3955561c45b59d491fc22cb49a2.zip
pfsense-eb6116e15f4fc3955561c45b59d491fc22cb49a2.tar.gz
Be sure to issue a newline break on logged commands
-rwxr-xr-xusr/local/www/pkg_mgr_install.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php
index 9fb9bf4..bcb7542 100755
--- a/usr/local/www/pkg_mgr_install.php
+++ b/usr/local/www/pkg_mgr_install.php
@@ -390,7 +390,7 @@ foreach ($packages_to_install as $id) {
if(!$_GET['mode'] == "reinstallall") {
update_output_window("Saving updated package information ...");
- fwrite($fd_log, "Saving updated package information ...");
+ fwrite($fd_log, "Saving updated package information ...\n");
write_config();
}
@@ -427,8 +427,8 @@ 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 . " ...");
+ 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') <> "") {
update_status("Extracting tgz archive to -C for " . $filename);
@@ -483,8 +483,8 @@ foreach ($packages_to_install as $id) {
$pb_percent += 10;
if($package_conf['custom_php_install_command']) {
- fwrite($fd_log, "Executing post install commands...\n " . $package_conf['custom_php_install_command']);
- update_status("Executing post install commands...\n " . $package_conf['custom_php_install_command']);
+ fwrite($fd_log, "Executing post install commands...\n");
+ update_status("Executing post install commands...\n");
$pb_percent += 50;
update_progress_bar(50);
eval($package_conf['custom_php_install_command']);
OpenPOWER on IntegriCloud