wok-stable diff asterisk/receipt @ rev 1313
Add apache
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 27 18:36:44 2008 +0000 (2008-08-27) |
parents | d659eda8a095 |
children | 1e551bfbe671 |
line diff
1.1 --- a/asterisk/receipt Mon Aug 04 13:34:35 2008 +0000 1.2 +++ b/asterisk/receipt Wed Aug 27 18:36:44 2008 +0000 1.3 @@ -37,3 +37,17 @@ 1.4 mv $i ${i%.sample} 1.5 done 1.6 } 1.7 + 1.8 +# Pre and post install commands for Tazpkg. 1.9 +post_install() 1.10 +{ 1.11 + ( cd $1/ ; cpio -o -H newc | gzip -9 ) > \ 1.12 + $1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT 1.13 +$(cd $1/ ; find etc/asterisk -type f) 1.14 +EOT 1.15 +} 1.16 + 1.17 +repack_cleanup() 1.18 +{ 1.19 + zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id ) 1.20 +}