wok-4.x diff squashfs/receipt @ rev 2256

Add squirrelmail-notes
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 15 22:52:54 2009 +0000 (2009-02-15)
parents c1610baa4cf4
children 749730241669
line diff
     1.1 --- a/squashfs/receipt	Thu Jan 22 18:08:21 2009 +0000
     1.2 +++ b/squashfs/receipt	Sun Feb 15 22:52:54 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 +}