wok diff tazpanel/receipt @ rev 11586

mplayerplug-in: hack compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 08 17:59:32 2012 +0100 (2012-01-08)
parents 86ae121e0643
children 4277cce17274
line diff
     1.1 --- a/tazpanel/receipt	Fri Jun 10 23:24:45 2011 +0200
     1.2 +++ b/tazpanel/receipt	Sun Jan 08 17:59:32 2012 +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 +}