wok-6.x diff nail/receipt @ rev 1788
lighttpd-ssl: fix pre/post install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 30 15:33:31 2008 +0000 (2008-11-30) |
parents | 10710b8535bc |
children | 518c59062c9f |
line diff
1.1 --- a/nail/receipt Thu Jul 24 12:27:06 2008 +0000 1.2 +++ b/nail/receipt Sun Nov 30 15:33:31 2008 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="nail" 1.7 -VERSION="12.3" 1.8 +VERSION="12.4" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Text mode mail user agent." 1.11 MAINTAINER="sygne@ombres.eu" 1.12 @@ -38,6 +38,17 @@ 1.13 cp -r $_pkg/etc $fs 1.14 } 1.15 1.16 +# Pre and post install commands for Tazpkg. 1.17 +pre_install() 1.18 +{ 1.19 + echo "" 1.20 + echo "Processing pre_install commands" 1.21 + echo "" 1.22 + echo "Moving $1/etc/nail.rc to $1/etc/nail.rc.old" 1.23 + echo "" 1.24 + mv $1/etc/nail.rc $1/etc/nail.rc.old 1.25 +} 1.26 + 1.27 # Post install commands for Tazpkg. 1.28 # Check mailx 1.29 post_install()