wok diff asterisk-sound-fr/receipt @ rev 4049

Up: util-linux-ng (2.16.1)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Sep 09 21:35:37 2009 +0200 (2009-09-09)
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	Wed Sep 09 21:35:37 2009 +0200
     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  }