summaryrefslogtreecommitdiffstats
path: root/perl-install/printer.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/printer.pm')
-rw-r--r--perl-install/printer.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/printer.pm b/perl-install/printer.pm
index aba21b392..6594641f7 100644
--- a/perl-install/printer.pm
+++ b/perl-install/printer.pm
@@ -145,7 +145,7 @@ sub service_starts_on_boot ($) {
my ($service) = @_;
local *F;
open F, ($::testing ? "$prefix" : "chroot $prefix/ ") .
- "/sbin/chkconfig --list $service 2>&1 |" ||
+ "/bin/sh -c \"export LC_ALL=C; /sbin/chkconfig --list $service 2>&1\" |" ||
die "Could not run chkconfig!";
while (<F>) {
chomp;
@@ -169,7 +169,7 @@ sub network_status {
# return 0, otherwise 1.
local *F;
open F, ($::testing ? "$prefix" : "chroot $prefix/ ") .
- "/etc/rc.d/init.d/network status |" ||
+ "/bin/sh -c \"export LC_ALL=C; /etc/rc.d/init.d/network status\" |" ||
die "Could not run \"/etc/rc.d/init.d/network status\"!";
while(<F>) {
if (($_ =~ /Devices.*down/) || # Are there configured devices which