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.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/printer/printerdrake.pm b/perl-install/printer/printerdrake.pm
index cbc0a65be..9097776a0 100644
--- a/perl-install/printer/printerdrake.pm
+++ b/perl-install/printer/printerdrake.pm
@@ -2070,7 +2070,9 @@ sub setup_common {
$::noX
or $in->do_pkgs->install('sane-backends',
'sane-frontends',
- 'scanner-gui',
+ ($::isInstall ?
+ 'xsane' :
+ 'scanner-gui'),
'libsane-hpoj1')
or do {
$in->ask_warn(N("Warning"),