wok-6.x diff asterisk/receipt @ rev 1245
perdition: describe known bugs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 12 07:24:16 2008 +0000 (2008-08-12) |
parents | d659eda8a095 |
children | 1e551bfbe671 |
line diff
1.1 --- a/asterisk/receipt Mon Aug 04 13:34:35 2008 +0000 1.2 +++ b/asterisk/receipt Tue Aug 12 07:24:16 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 +}