summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/printerdrake.pm
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2005-09-12 13:13:31 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2005-09-12 13:13:31 +0000
commit4f1f7a8c07df0031dd297d9b1b90c1acea2ec8fb (patch)
treeb7cc6692f7d85c0c37a1cc53cf07e30f1ee3ee2e /perl-install/printer/printerdrake.pm
parentffd4f1b06dfbbc8a92c7865d5c1387403dc30db8 (diff)
downloaddrakx-4f1f7a8c07df0031dd297d9b1b90c1acea2ec8fb.tar
drakx-4f1f7a8c07df0031dd297d9b1b90c1acea2ec8fb.tar.gz
drakx-4f1f7a8c07df0031dd297d9b1b90c1acea2ec8fb.tar.bz2
drakx-4f1f7a8c07df0031dd297d9b1b90c1acea2ec8fb.tar.xz
drakx-4f1f7a8c07df0031dd297d9b1b90c1acea2ec8fb.zip
- Made configuring of auto queue setup mode also during installation
(some $::prefix were missing).
Diffstat (limited to 'perl-install/printer/printerdrake.pm')
-rw-r--r--perl-install/printer/printerdrake.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/printer/printerdrake.pm b/perl-install/printer/printerdrake.pm
index d2678ebd4..0bb61b0e5 100644
--- a/perl-install/printer/printerdrake.pm
+++ b/perl-install/printer/printerdrake.pm
@@ -615,7 +615,7 @@ sub config_auto_admin {
my $nogui =
N("No pop-up windows, printer setup and package installation cannot be canceled");
my $autoqueuesetupmode =
- ($printer->{autoqueuesetupgui} && -x "/usr/X11R6/bin/X") ?
+ ($printer->{autoqueuesetupgui} && -x "$::prefix/usr/X11R6/bin/X") ?
$waitforgui : $nogui;
if ($in->ask_from_
({
@@ -630,10 +630,10 @@ sub config_auto_admin {
{ text => N("when Printerdrake is started"),
type => 'bool',
val => \$printer->{autoqueuesetuponstart} },
- if_(-x "/usr/X11R6/bin/X",
+ if_(-x "$::prefix/usr/X11R6/bin/X",
{ val => N("Mode for automatic printer setup:") }),
{ val => \$autoqueuesetupmode,
- list => [ if_(-x "/usr/X11R6/bin/X", $waitforgui),
+ list => [ if_(-x "$::prefix/usr/X11R6/bin/X", $waitforgui),
$nogui ],
not_edit => 1, sort => 0,
type => 'list' },