summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2005-08-30 17:08:56 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2005-08-30 17:08:56 +0000
commitf802e885ee1eff88517fa39ddcc3fecb9e272c99 (patch)
tree786e9aeb80df4f7105a1363cbc3ff7a50b590acd /perl-install
parent237a287656548315efbbc4e0161cf6edee005c26 (diff)
downloaddrakx-f802e885ee1eff88517fa39ddcc3fecb9e272c99.tar
drakx-f802e885ee1eff88517fa39ddcc3fecb9e272c99.tar.gz
drakx-f802e885ee1eff88517fa39ddcc3fecb9e272c99.tar.bz2
drakx-f802e885ee1eff88517fa39ddcc3fecb9e272c99.tar.xz
drakx-f802e885ee1eff88517fa39ddcc3fecb9e272c99.zip
- When setting up new queue with HPLIP old HPOJ config was not deleted
during installation. Fixed.
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/printer/printerdrake.pm2
1 files changed, 1 insertions, 1 deletions
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) {