summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-20 13:35:45 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-20 13:35:45 +0000
commitefe9c35eb84c036dc033744674c1bdc8d57657bc (patch)
treea539f1272dbf3935c396f403e60157a513d3bd40
parent05d9b569c6755214e5a93df70d21977c56ce7218 (diff)
downloaddrakx-backup-do-not-use-efe9c35eb84c036dc033744674c1bdc8d57657bc.tar
drakx-backup-do-not-use-efe9c35eb84c036dc033744674c1bdc8d57657bc.tar.gz
drakx-backup-do-not-use-efe9c35eb84c036dc033744674c1bdc8d57657bc.tar.bz2
drakx-backup-do-not-use-efe9c35eb84c036dc033744674c1bdc8d57657bc.tar.xz
drakx-backup-do-not-use-efe9c35eb84c036dc033744674c1bdc8d57657bc.zip
fix brltty support
-rw-r--r--perl-install/install2.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 640568e33..39154c658 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -519,7 +519,7 @@ sub main {
mkdir '/tmp/stage2/etc/brltty';
mkdir '/lib/brltty';
foreach ($o->{brltty}{table}, "brltty-$o->{brltty}{driver}.hlp") {
- install_any::getAndSaveFile($_ , "/tmp/stage2/$_") if $_;
+ install_any::getAndSaveFile("/etc/brltty/$_", "/tmp/stage2/etc/brltty/$_") if $_;
}
install_any::getAndSaveFile("/lib/brltty/libbrlttyb$o->{brltty}{driver}.so") or do {
local $| = 1;
@@ -530,6 +530,8 @@ sub main {
install_any::getAndSaveFile("/usr/bin/brltty");
chmod 0755, "/usr/bin/brltty";
}
+ eval { modules::load("serial") };
+ devices::make($o->{brltty}{device});
devices::make("vcsa");
run_program::run("brltty");
}