summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-01-12 04:39:46 +0000
committerFrancois Pons <fpons@mandriva.com>2000-01-12 04:39:46 +0000
commit12284596b2044cc8964f42568321a54247d08d3d (patch)
treea5d177b89522a4e8693c9e5c2c90c7817de5209b
parenta1e8b7ab07b5dc9a95c2f2b982f640c5a24f0316 (diff)
downloaddrakx-12284596b2044cc8964f42568321a54247d08d3d.tar
drakx-12284596b2044cc8964f42568321a54247d08d3d.tar.gz
drakx-12284596b2044cc8964f42568321a54247d08d3d.tar.bz2
drakx-12284596b2044cc8964f42568321a54247d08d3d.tar.xz
drakx-12284596b2044cc8964f42568321a54247d08d3d.zip
*** empty log message ***
-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 17f22c226..524a8ae0e 100644
--- a/perl-install/printer.pm
+++ b/perl-install/printer.pm
@@ -281,7 +281,7 @@ sub read_printer_db(;$) {
%thedb and return;
my %available_devices; #- keep only available devices in our database.
- local *AVAIL; open AVAIL, "$prefix/usr/bin/gs --help |";
+ local *AVAIL; open AVAIL, "chroot ". ($prefix || '/') ." /usr/bin/gs --help |";
foreach (<AVAIL>) {
if (/^Available devices:/ ... /^\S/) {
@available_devices{split /\s+/, $_} = () if /^\s+/;