wok diff tazpkg/receipt @ rev 9504

Up: dhcp and dhcp6 to 4.2.1-P1.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Apr 05 22:31:31 2011 +0000 (2011-04-05)
parents 8458f8ab687f
children 99e53ccce3f9
line diff
     1.1 --- a/tazpkg/receipt	Sat Mar 26 00:07:02 2011 +0000
     1.2 +++ b/tazpkg/receipt	Tue Apr 05 22:31:31 2011 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="tazpkg"
     1.7 -VERSION="4.2.6"
     1.8 +VERSION="4.4"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="SliTaz packages manager."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -9,7 +9,7 @@
    1.13  BUILD_DEPENDS="gettext"
    1.14  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15  WEB_SITE="http://www.slitaz.org/"
    1.16 -WGET_URL="http://hg.slitaz.org/tazpkg/archive/$VERSION.tar.bz2"
    1.17 +WGET_URL="http://mirror.slitaz.org/sources/tazpkg/$TARBALL"
    1.18  TAGS="slitaz package-manager"
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21 @@ -42,5 +42,13 @@
    1.22  {
    1.23  	#Apply a fix to config file /etc/slitaz/slitaz.conf
    1.24  	[ -f /etc/slitaz/slitaz.conf ] && sed 's/LOCAL_STATE/LOCALSTATE/'\
    1.25 -		-i /etc/slitaz/slitaz.conf 
    1.26 +		-i /etc/slitaz/slitaz.conf
    1.27 +	# Make sure new confi is present
    1.28 +	if ! grep -q ^NOTIFY_GEOM "$root/etc/slitaz/tazpkg.conf"; then
    1.29 +		cat >> "$root/etc/slitaz/tazpkg.conf" << "EOT"
    1.30 +# The geometry of the desktop notification
    1.31 +NOTIFY_GEOM="360x80-0+24"
    1.32 +
    1.33 +EOT
    1.34 +	fi
    1.35  }