wok diff squashfs/receipt @ rev 2353
cyrus-imapd: typo in init script
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 05 08:35:57 2009 +0000 (2009-03-05) |
parents | c1610baa4cf4 |
children | 749730241669 |
line diff
1.1 --- a/squashfs/receipt Thu Jan 22 18:08:21 2009 +0000 1.2 +++ b/squashfs/receipt Thu Mar 05 08:35:57 2009 +0000 1.3 @@ -177,3 +177,15 @@ 1.4 { 1.5 cp -a $_pkg/usr $_pkg/sbin $fs 1.6 } 1.7 + 1.8 +# Pre remove and post install commands for Tazpkg. 1.9 +pre_remove() 1.10 +{ 1.11 + sed -i '/^squashfs$/d' $1/etc/filesystems 1.12 +} 1.13 + 1.14 +post_install() 1.15 +{ 1.16 + grep -qs ^squashfs$ $1/etc/filesystems || \ 1.17 + echo "squashfs" >> $1/etc/filesystems 1.18 +}