wok-4.x rev 11360
Up tazpanel (1.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 07 15:19:16 2011 +0100 (2011-12-07) |
parents | 0e5a7df3d92f |
children | bb8c974d7ed8 |
files | tazpanel/receipt |
line diff
1.1 --- a/tazpanel/receipt Tue Dec 06 18:46:25 2011 +0000 1.2 +++ b/tazpanel/receipt Wed Dec 07 15:19:16 2011 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="tazpanel" 1.7 -VERSION="1.1" 1.8 +VERSION="1.2" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="SliTaz administration and configuration panel." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 @@ -28,3 +28,10 @@ 1.13 # Init script use tazpanel cmdline 1.14 cd $fs/etc/init.d && ln -s ../../usr/bin/tazpanel . 1.15 } 1.16 + 1.17 +# Pre and post install commands for Tazpkg. 1.18 +post_install() 1.19 +{ 1.20 + grep -qs tazpanel $1/etc/hosts || 1.21 + sed -i 's/^127.0.0.1.*/& tazpanel/' $1/etc/hosts 1.22 +}