wok diff zaptel/receipt @ rev 1213
asterisk, zaptel: create volatile.cpio.gz
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 09 17:55:16 2008 +0000 (2008-08-09) |
parents | d659eda8a095 |
children | c343c644ab92 |
line diff
1.1 --- a/zaptel/receipt Mon Aug 04 13:34:35 2008 +0000 1.2 +++ b/zaptel/receipt Sat Aug 09 17:55:16 2008 +0000 1.3 @@ -39,6 +39,10 @@ 1.4 # Post install/remove commands for Tazpkg. 1.5 post_install() 1.6 { 1.7 + ( cd $1/ ; cpio -o -H newc | gzip -9 ) > \ 1.8 + $1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT 1.9 +etc/zaptel.conf 1.10 +EOT 1.11 depmod -a -b "$1/" 1.12 } 1.13 1.14 @@ -47,3 +51,7 @@ 1.15 depmod -a 1.16 } 1.17 1.18 +repack_cleanup() 1.19 +{ 1.20 + zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id ) 1.21 +}