wok-next diff linux-ncpfs/receipt @ rev 2356
curl: split libcurl
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 05 11:38:57 2009 +0100 (2009-03-05) |
parents | cd9d437a5a0f |
children | 4e225981004f |
line diff
1.1 --- a/linux-ncpfs/receipt Thu Jul 10 21:31:44 2008 +0000 1.2 +++ b/linux-ncpfs/receipt Thu Mar 05 11:38:57 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 ^ncpfs$ $1/etc/filesystems || \ 1.8 + echo "ncpfs" >> $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 '/^ncpfs$/d' $1/etc/filesystems 1.15 depmod -a $VERSION-slitaz 1.16 } 1.17 -