wok-stable diff tazpanel/receipt @ rev 11386

Compat: ensure that pam WGET_URL is non-https. Otherwise tazwok can't download it at cook-toolchain time
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 10 04:42:49 2011 +0100 (2011-12-10)
parents 86ae121e0643
children 4277cce17274
line diff
     1.1 --- a/tazpanel/receipt	Fri Jun 10 23:24:45 2011 +0200
     1.2 +++ b/tazpanel/receipt	Sat Dec 10 04:42:49 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 +}