summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/printerdrake.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/printer/printerdrake.pm')
-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) {