wok-4.x rev 1808
asterisk-sound-fr: localization workaround
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 03 22:03:10 2008 +0000 (2008-12-03) |
parents | db7e79a69e27 |
children | e1b5b3453f29 |
files | asterisk-sound-fr/receipt |
line diff
1.1 --- a/asterisk-sound-fr/receipt Wed Dec 03 15:14:43 2008 +0000 1.2 +++ b/asterisk-sound-fr/receipt Wed Dec 03 22:03:10 2008 +0000 1.3 @@ -28,4 +28,10 @@ 1.4 [ -d $fs$dir ] || mkdir -p $fs$dir 1.5 eval cp -a "$_pkg$file" $fs$dir 1.6 done < $_pkg/../$PACKAGE.files-list 1.7 + lang=$(ls $fs/var/lib/asterisk/sounds) 1.8 + for i in $fs/var/lib/asterisk/sounds/$lang/*/ ; do 1.9 + dir=$(basename $i) 1.10 + mkdir $fs/var/lib/asterisk/sounds/$dir 1.11 + ln -s ../$lang/$dir $fs/var/lib/asterisk/sounds/$dir/$lang 1.12 + done 1.13 }