# HG changeset patch # User Christophe Lincoln # Date 1198168535 -3600 # Node ID e17dfeb82a2cb0d24199190a3b8fb6980924f26e # Parent 9303fd1ff23483ebdcebf631a03fc9d69c78e048 Add : slitaz-config + slitaz-users diff -r 9303fd1ff234 -r e17dfeb82a2c slitaz-config/files.list --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-config/files.list Thu Dec 20 17:35:35 2007 +0100 @@ -0,0 +1,6 @@ +/etc/jwm/system.jwmrc +/etc/tazlito +/etc/daemons.conf +/usr/share/images/slitaz-darkblue-1280x1024.png +/usr/share/images/slitaz-darkblue-1024x768.png +/var/lib/tazpkg/mirror diff -r 9303fd1ff234 -r e17dfeb82a2c slitaz-config/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-config/receipt Thu Dec 20 17:35:35 2007 +0100 @@ -0,0 +1,17 @@ +# SliTaz package receipt. + +PACKAGE="slitaz-config" +VERSION="1.0" +CATEGORY="base-system" +SHORT_DESC="Config tree for the base system." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.slitaz.org/" +WGET_URL="http://download.tuxfamily.org/slitaz/sources/base-files/$TARBALL" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + # Copy all rootfs from the stuff and set permissions. + cp -a $src/rootfs/* $fs +} diff -r 9303fd1ff234 -r e17dfeb82a2c slitaz-users/files.list --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-users/files.list Thu Dec 20 17:35:35 2007 +0100 @@ -0,0 +1,56 @@ +/home/hacker +/home/hacker/Bin +/home/hacker/.clexrc +/home/hacker/.retawq +/home/hacker/.retawq/bookmarks.html +/home/hacker/.retawq/config +/home/hacker/.isomaster +/home/hacker/.rhapsodyrc +/home/hacker/Public +/home/hacker/Public/cgi-bin +/home/hacker/Public/cgi-bin/tests.sh +/home/hacker/Public/wikiss +/home/hacker/Public/wikiss/template.html +/home/hacker/Public/wikiss/_config.php +/home/hacker/Public/wikiss/index.php +/home/hacker/Public/wikiss/plugins +/home/hacker/Public/wikiss/plugins/wkp_Tables.php +/home/hacker/Public/wikiss/plugins/wkp_ListPlugins.php +/home/hacker/Public/wikiss/plugins/wkp_Rss.php +/home/hacker/Public/wikiss/style.css +/home/hacker/Public/wikiss/historique +/home/hacker/Public/wikiss/historique/Accueil +/home/hacker/Public/wikiss/historique/Accueil/20071105-2356.bak +/home/hacker/Public/wikiss/historique/Aide +/home/hacker/Public/wikiss/historique/Aide/20070912-1846.bak +/home/hacker/Public/wikiss/COPYING +/home/hacker/Public/wikiss/pages +/home/hacker/Public/wikiss/pages/AideTables.txt +/home/hacker/Public/wikiss/pages/Accueil.txt +/home/hacker/Public/wikiss/pages/Aide.txt +/home/hacker/.profile +/home/hacker/.ash_history +/home/hacker/.gtkrc-2.0 +/home/hacker/.gqview +/home/hacker/.gqview/gqviewrc +/home/hacker/.gtk-bookmarks +/home/hacker/.mozilla +/home/hacker/.mozilla/plugins +/home/hacker/Templates +/home/hacker/Templates/shell-script.sh +/home/hacker/Templates/html.html +/home/hacker/Templates/cgi-bin-html.sh +/home/hacker/Templates/cgi-bin-text.sh +/home/hacker/Templates/php-script.php +/home/hacker/Templates/Makefile +/home/hacker/.bashrc +/home/hacker/.clexbm +/home/hacker/Images +/home/hacker/Images/ASCII +/home/hacker/Images/ASCII/gnu-linux.txt +/home/hacker/Images/ASCII/tux.txt +/home/hacker/Images/ASCII/tux-mini.txt +/home/hacker/Images/ASCII/gnu.txt +/home/hacker/Documents +/root/.jwmrc +/root/.gtkrc-2.0 diff -r 9303fd1ff234 -r e17dfeb82a2c slitaz-users/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-users/receipt Thu Dec 20 17:35:35 2007 +0100 @@ -0,0 +1,44 @@ +# SliTaz package receipt. + +PACKAGE="slitaz-users" +VERSION="1.0" +CATEGORY="base-system" +SHORT_DESC="Config tree for the base system." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.slitaz.org/" +WGET_URL="http://download.tuxfamily.org/slitaz/sources/base-files/$TARBALL" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + # Copy all rootfs from the stuff and set permissions. + cp -a $src/rootfs/* $fs +} + +pre_install() +{ + local root + local i + root=$1/etc + while read file line; do + grep -qs "$line" $file || echo "$line" >> $file + done <> $file + done <