wok diff slitaz-configs/receipt @ rev 297

Typo in syslinux-extra
author Christophe Lincoln <pankso@slitaz.org>
date Fri Feb 29 17:23:36 2008 +0100 (2008-02-29)
parents
children 508b841c38f4
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/slitaz-configs/receipt	Fri Feb 29 17:23:36 2008 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="slitaz-configs"
     1.7 +VERSION="1.0"
     1.8 +CATEGORY="base-system"
     1.9 +SHORT_DESC="SliTaz JWM config, wallparers and sounds."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://www.slitaz.org/"
    1.13 +WGET_URL="http://download.tuxfamily.org/slitaz/sources/base-files/$TARBALL"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{	
    1.18 +    # Copy all rootfs from the stuff and set permissions.
    1.19 +    cp -a $src/rootfs/* $fs
    1.20 +	chown -R root.root $fs/*
    1.21 +}
    1.22 +
    1.23 +# Pre and post install to backup all /etc/settings
    1.24 +#
    1.25 +pre_install()
    1.26 +{
    1.27 +	local root
    1.28 +	root=$1
    1.29 +	echo ""
    1.30 +	echo "Creating backup of JWM system configuration..."
    1.31 +	cp -a $root/etc/jwm/system.jwmrc $root/etc/jwm/system.jwmrc.bak 2>/dev/null
    1.32 +	echo ""
    1.33 +}