summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2004-09-01 08:40:37 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2004-09-01 08:40:37 +0000
commitbac860f5ceab5f048818dc3e8c6cb2eb206a3ad6 (patch)
treecb72d8c3c40034910b7510e1557d28b90ca64c75
parent37e88f660db63079e1a43f6b54fcd17d7c5dfb4e (diff)
downloaddrakx-backup-do-not-use-bac860f5ceab5f048818dc3e8c6cb2eb206a3ad6.tar
drakx-backup-do-not-use-bac860f5ceab5f048818dc3e8c6cb2eb206a3ad6.tar.gz
drakx-backup-do-not-use-bac860f5ceab5f048818dc3e8c6cb2eb206a3ad6.tar.bz2
drakx-backup-do-not-use-bac860f5ceab5f048818dc3e8c6cb2eb206a3ad6.tar.xz
drakx-backup-do-not-use-bac860f5ceab5f048818dc3e8c6cb2eb206a3ad6.zip
- Fixed bug of printerdrake trying to install the virtual package "scanner-gui" during installation (when a multi-function device from HP is present).
-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"),