wok-stable diff yasr/receipt @ rev 7802
Up tcllib (1.12)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Fri Dec 24 13:41:00 2010 +0000 (2010-12-24) |
parents | c708dc566ed4 |
children | 0b4cf0d9e1b5 |
line diff
1.1 --- a/yasr/receipt Sat Feb 13 20:10:25 2010 +0000 1.2 +++ b/yasr/receipt Fri Dec 24 13:41:00 2010 +0000 1.3 @@ -27,12 +27,17 @@ 1.4 mkdir -p $fs/usr/share 1.5 cp -a $_pkg/usr/bin $fs/usr 1.6 cp -a $_pkg/usr/share/yasr $fs/usr/share 1.7 +} 1.8 1.9 - # enable speech-synthesizer in config file 1.10 - cd $fs/usr/share/yasr 1.11 +post_install() 1.12 +{ 1.13 + # Enable speech-synthesizer in config file 1.14 + echo -n "Enabling config file..." 1.15 + cd $1/usr/share/yasr 1.16 sed -i 's/synthesizer=emacspeak/#synthesizer=emacspeak/; \ 1.17 s/#synthesizer=speech/synthesizer=speech/; \ 1.18 s/synthesizer port=|/#synthesizer port=|/; \ 1.19 - s/#synthesizer port=127./synthesizer port=127./' yasr.conf 1.20 + s/#synthesizer port=127./synthesizer port=127./' yasr.conf 1.21 + status 1.22 } 1.23