summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/printerdrake
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2002-02-12 14:24:15 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2002-02-12 14:24:15 +0000
commit2d043f4f7f34189f6e5ae668fee10b72073c082e (patch)
tree802f5384a5af23886ca5057616ef518c09afa4b9 /perl-install/standalone/printerdrake
parent44aeeaea7bdfbfa081bdb6284955e0e286b5167d (diff)
downloaddrakx-2d043f4f7f34189f6e5ae668fee10b72073c082e.tar
drakx-2d043f4f7f34189f6e5ae668fee10b72073c082e.tar.gz
drakx-2d043f4f7f34189f6e5ae668fee10b72073c082e.tar.bz2
drakx-2d043f4f7f34189f6e5ae668fee10b72073c082e.tar.xz
drakx-2d043f4f7f34189f6e5ae668fee10b72073c082e.zip
- Assure that Foomatic is installed before checking existing printer queues.
Diffstat (limited to 'perl-install/standalone/printerdrake')
-rwxr-xr-xperl-install/standalone/printerdrake3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/standalone/printerdrake b/perl-install/standalone/printerdrake
index 87d44e252..5e0d16408 100755
--- a/perl-install/standalone/printerdrake
+++ b/perl-install/standalone/printerdrake
@@ -46,6 +46,9 @@ my $in = 'interactive'->vnew('su', 'printer');
my $commandline = $_;
{
+# Check whether Foomatic is installed and install it if necessary
+printerdrake::install_foomatic($in);
+
my $w = $in->wait_message('', _("Reading printer data ..."));
# Get what was installed before
eval { $printer = printer::getinfo('') };