diff --git a/software/apt-lib.pl b/software/apt-lib.pl index fd0dd43b9..36e3cf513 100755 --- a/software/apt-lib.pl +++ b/software/apt-lib.pl @@ -26,7 +26,7 @@ local $uicmd = "$apt_get_command -y ".($force ? " -f" : "")." install $update"; $update = join(" ", map { quotemeta($_) } split(/\s+/, $update)); local $cmd = "$apt_get_command -y ".($force ? " -f" : "")." install $update"; print &text('apt_install', "".&html_escape($uicmd).""),"\n"; -print "
";
+print "";
&additional_log('exec', undef, $cmd);
# Run dpkg --configure -a to clear any un-configured packages
diff --git a/software/csw-lib.pl b/software/csw-lib.pl
index 65462e17c..890f41ce5 100755
--- a/software/csw-lib.pl
+++ b/software/csw-lib.pl
@@ -35,7 +35,7 @@ do {
"$pkg_get -i $flag $update"),"\n";
$failed = 0;
$retry = 0;
- print "";
+ print "";
&open_execute_command(PKGGET,
"$pkg_get -i $flag ".quotemeta($update), 2);
while() {
diff --git a/software/emerge-lib.pl b/software/emerge-lib.pl
index e56188444..c499f86ba 100755
--- a/software/emerge-lib.pl
+++ b/software/emerge-lib.pl
@@ -301,7 +301,7 @@ local $update = $_[0] || $in{'update'};
local $cmd = "emerge ".quotemeta($update);
local @rv;
print &text('emerge_install', "$cmd"),"\n";
-print "\n";
+print "\n";
&additional_log('exec', undef, $cmd);
&open_execute_command(CMD, "$cmd 2>&1 ) {
diff --git a/software/ipkg-lib.pl b/software/ipkg-lib.pl
index 60e10a1f1..3c6ffd698 100755
--- a/software/ipkg-lib.pl
+++ b/software/ipkg-lib.pl
@@ -233,7 +233,7 @@ local $update = $_[0] || $in{'update'};
local (@rv, @newpacks);
local $cmd = "$ipkg install";
print &text('IPKG_install', "$cmd"),"\n";
-print "";
+print "";
&additional_log('exec', undef, "$cmd $update");
local $qm = join(" ", map { quotemeta($_) } split(/\s+/, $update));
&open_execute_command(CMD, "$cmd $qm", 2);
diff --git a/software/pkg-lib.pl b/software/pkg-lib.pl
index 6d7998d4a..2017637df 100644
--- a/software/pkg-lib.pl
+++ b/software/pkg-lib.pl
@@ -17,7 +17,7 @@ my $force = !$_[2];
$update = join(" ", map { quotemeta($_) } split(/\s+/, $update));
my $cmd = "pkg install ".$update;
print &text('pkg_install', "$cmd"),"\n";
-print "";
+print "";
&additional_log('exec', undef, $cmd);
# Run it
diff --git a/software/pkgsrc-lib.pl b/software/pkgsrc-lib.pl
index 95f46b11c..4fe09aef5 100644
--- a/software/pkgsrc-lib.pl
+++ b/software/pkgsrc-lib.pl
@@ -223,7 +223,7 @@ my @rv;
$update = join(" ", map { quotemeta($_) } split(/\s+/, $update));
my $cmd = "pkgin -y install ".$update;
print &text('pkgsrc_install', "$cmd"),"\n";
-print "";
+print "";
&additional_log('exec', undef, $cmd);
# Run it
diff --git a/software/rhn-lib.pl b/software/rhn-lib.pl
index dcb31a163..ce0d08812 100755
--- a/software/rhn-lib.pl
+++ b/software/rhn-lib.pl
@@ -16,7 +16,7 @@ sub update_system_install
local $update = $_[0] || $in{'update'};
local @rv;
print &text('rhn_install', "up2date $update"),"\n";
-print "";
+print "";
&additional_log('exec', undef, "up2date \"$update\"");
local $qm = quotemeta($update);
&open_execute_command(CMD, "up2date $qm", 2);
diff --git a/software/urpmi-lib.pl b/software/urpmi-lib.pl
index 4b07a205a..1fdb3b4f2 100755
--- a/software/urpmi-lib.pl
+++ b/software/urpmi-lib.pl
@@ -14,7 +14,7 @@ local $update = $_[0] || $in{'update'};
local (@rv, @newpacks);
local $cmd = "urpmi --force --auto";
print &text('urpmi_install', "$cmd $update"),"\n";
-print "";
+print "";
&additional_log('exec', undef, "$cmd $update");
local $qm = join(" ", map { quotemeta($_) } split(/\s+/, $update));
&open_execute_command(CMD, "$cmd $qm ".&html_escape($uicmd).""),"\n";
-print "";
+print "";
&additional_log('exec', undef, $fullcmd);
$SIG{'TERM'} = 'ignore'; # Installing webmin itself may kill this script
&open_execute_command(CMD, "$fullcmd