From f802e885ee1eff88517fa39ddcc3fecb9e272c99 Mon Sep 17 00:00:00 2001 From: Till Kamppeter Date: Tue, 30 Aug 2005 17:08:56 +0000 Subject: - When setting up new queue with HPLIP old HPOJ config was not deleted during installation. Fixed. --- perl-install/printer/printerdrake.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/printer/printerdrake.pm b/perl-install/printer/printerdrake.pm index a68148d64..26a7ab402 100644 --- a/perl-install/printer/printerdrake.pm +++ b/perl-install/printer/printerdrake.pm @@ -2467,7 +2467,7 @@ sub setup_common { } } # Remove old HPOJ configuration for this device - if (-f "/usr/sbin/ptal-mlcd") { # HPOJ installed? + if (-f "$::prefix/usr/sbin/ptal-mlcd") { # HPOJ installed? if (my $configfile = printer::main::remove_hpoj_config($device, @autodetected)) { if (!$printer->{noninteractive} && !$::noX) { -- cgit v1.2.1