summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2001-09-17 20:20:38 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2001-09-17 20:20:38 +0000
commitd76c0310b7ef4c9fb9adef1dd8f31378733c188d (patch)
tree10b295c9a640465698de1c6002cc7595277e7a4d /perl-install
parent4ee0a45f10b07b88ca2774117df8eb6914704ba4 (diff)
downloaddrakx-backup-do-not-use-d76c0310b7ef4c9fb9adef1dd8f31378733c188d.tar
drakx-backup-do-not-use-d76c0310b7ef4c9fb9adef1dd8f31378733c188d.tar.gz
drakx-backup-do-not-use-d76c0310b7ef4c9fb9adef1dd8f31378733c188d.tar.bz2
drakx-backup-do-not-use-d76c0310b7ef4c9fb9adef1dd8f31378733c188d.tar.xz
drakx-backup-do-not-use-d76c0310b7ef4c9fb9adef1dd8f31378733c188d.zip
Fixed bug of /etc/foomatic/defaultspooler not been written in expert install.
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/printer.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/printer.pm b/perl-install/printer.pm
index d3b151116..7ad0046e9 100644
--- a/perl-install/printer.pm
+++ b/perl-install/printer.pm
@@ -99,7 +99,7 @@ sub get_default_spooler () {
sub set_default_spooler ($) {
my ($printer) = @_;
# Make Foomatic config directory if it does not exist yet
- if (!(-d $FOOMATICCONFDIR)) {mkdir $FOOMATICCONFDIR;}
+ if (!(-d "$prefix$FOOMATICCONFDIR")) {mkdir "$prefix$FOOMATICCONFDIR";}
# Mark the default driver in a file
open DEFSPOOL, "> $prefix$FOOMATIC_DEFAULT_SPOOLER" ||
die "Cannot create $prefix$FOOMATIC_DEFAULT_SPOOLER!";