wok diff asterisk-sound-fr/receipt @ rev 2297
Up: udev (138)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Feb 22 22:45:38 2009 +0100 (2009-02-22) |
parents | 03a799424aaa |
children | 6e3a46ecfae6 |
line diff
1.1 --- a/asterisk-sound-fr/receipt Fri Sep 26 09:21:16 2008 +0000 1.2 +++ b/asterisk-sound-fr/receipt Sun Feb 22 22:45:38 2009 +0100 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 }