wok-6.x diff asterisk-sound/receipt @ rev 10764
asterisk-sound*: check $src
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 31 12:22:28 2011 +0200 (2011-05-31) |
parents | 7c923b0875c2 |
children | e76ce476e779 |
line diff
1.1 --- a/asterisk-sound/receipt Fri Mar 04 08:36:11 2011 +0100 1.2 +++ b/asterisk-sound/receipt Tue May 31 12:22:28 2011 +0200 1.3 @@ -13,11 +13,10 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - if [ ! -d $DESTDIR/var ]; then 1.8 - cd $src 1.9 - mkdir -p $DESTDIR/var/lib/asterisk/sounds 1.10 - mv * $DESTDIR/var/lib/asterisk/sounds 1.11 - fi 1.12 + [ ! -d $DESTDIR/var ] && 1.13 + cd $src && 1.14 + mkdir -p $DESTDIR/var/lib/asterisk/sounds && 1.15 + mv * $DESTDIR/var/lib/asterisk/sounds && 1.16 } 1.17 1.18 # Rules to gen a SliTaz package suitable for Tazpkg.