summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-08-30 10:26:18 +0000
committerFrancois Pons <fpons@mandriva.com>2001-08-30 10:26:18 +0000
commitb2a7fbea067fbbacf4d42cc28c881531f77a407f (patch)
treeeefab5bd85ead55f10ffe158bb568b271407f3ff /perl-install
parent6dd64bbc857313c6014478a8f030c8f7462e43cc (diff)
downloaddrakx-backup-do-not-use-b2a7fbea067fbbacf4d42cc28c881531f77a407f.tar
drakx-backup-do-not-use-b2a7fbea067fbbacf4d42cc28c881531f77a407f.tar.gz
drakx-backup-do-not-use-b2a7fbea067fbbacf4d42cc28c881531f77a407f.tar.bz2
drakx-backup-do-not-use-b2a7fbea067fbbacf4d42cc28c881531f77a407f.tar.xz
drakx-backup-do-not-use-b2a7fbea067fbbacf4d42cc28c881531f77a407f.zip
fixed foomatic failed (no lo up since ifup lo don't run)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/printer.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/printer.pm b/perl-install/printer.pm
index e7ddcea46..140b8442f 100644
--- a/perl-install/printer.pm
+++ b/perl-install/printer.pm
@@ -602,12 +602,11 @@ sub get_descr_from_ppd {
}
sub poll_ppd_base {
-
#- before trying to poll the ppd database available to cups, we have to make sure
#- the file /etc/cups/ppds.dat is no more modified.
#- if cups continue to modify it (because it reads the ppd files available), the
#- poll_ppd_base program simply cores :-)
- run_program::rooted($prefix, "ifup lo"); #- else cups will not be happy!
+ run_program::rooted($prefix, "ifconfig lo 127.0.0.1"); #- else cups will not be happy! and ifup lo don't run ?
run_program::rooted($prefix, "/etc/rc.d/init.d/cups start");
my $driversthere = scalar(keys %thedb);
foreach (1..60) {