wok-stable diff linux-reiserfs/receipt @ rev 2489
c*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 15 22:04:42 2009 +0000 (2009-03-15) |
parents | 04b68c6ffdfa |
children | 4e225981004f |
line diff
1.1 --- a/linux-reiserfs/receipt Sat Jun 07 22:04:11 2008 +0000 1.2 +++ b/linux-reiserfs/receipt Sun Mar 15 22:04:42 2009 +0000 1.3 @@ -26,11 +26,13 @@ 1.4 # Post install/remove commands for Tazpkg. 1.5 post_install() 1.6 { 1.7 + grep -qs ^reiserfs$ $1/etc/filesystems || \ 1.8 + echo "reiserfs" >> $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 '/^reiserfs$/d' $1/etc/filesystems 1.15 depmod -a $VERSION-slitaz 1.16 } 1.17 -