wok-6.x diff linux-jfs/receipt @ rev 2300

Up: bash (4.0)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Feb 23 13:44:27 2009 +0100 (2009-02-23)
parents 1d1bb51299ff
children 4e225981004f
line diff
     1.1 --- a/linux-jfs/receipt	Sun Jun 29 18:45:01 2008 +0000
     1.2 +++ b/linux-jfs/receipt	Mon Feb 23 13:44:27 2009 +0100
     1.3 @@ -26,11 +26,13 @@
     1.4  # Post install/remove commands for Tazpkg.
     1.5  post_install()
     1.6  {
     1.7 +	grep -qs ^jfs$ $1/etc/filesystems || \
     1.8 +		echo "jfs" >> $1/etc/filesystems
     1.9  	depmod -a -b "$1/" $VERSION-slitaz
    1.10  }
    1.11  
    1.12  post_remove()
    1.13  {
    1.14 +	sed -i '/^jfs$/d' $1/etc/filesystems
    1.15  	depmod -a $VERSION-slitaz
    1.16  }
    1.17 -