wok-current diff asterisk-sound/receipt @ rev 9401

Up: rsync to 3.0.8.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Mar 27 08:05:44 2011 +0000 (2011-03-27)
parents 920b2fe2e541
children 6142040da281
line diff
     1.1 --- a/asterisk-sound/receipt	Thu Mar 03 15:43:41 2011 +0100
     1.2 +++ b/asterisk-sound/receipt	Sun Mar 27 08:05:44 2011 +0000
     1.3 @@ -13,14 +13,10 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	if [ ! -d $_pkg/var ]; then
     1.8 -		mkdir -p $_pkg/var/lib/asterisk/sounds
     1.9 -		for i in *; do
    1.10 -			case "$i" in
    1.11 -			$PACKAGE-$VERSION|taz|receipt|process.log);;
    1.12 -			*) mv $i $_pkg/var/lib/asterisk/sounds;;
    1.13 -			esac
    1.14 -		done
    1.15 +	if [ ! -d $DESTDIR/var ]; then
    1.16 +		cd $src
    1.17 +		mkdir -p $DESTDIR/var/lib/asterisk/sounds
    1.18 +		mv * $DESTDIR/var/lib/asterisk/sounds
    1.19  	fi
    1.20  }
    1.21