cookutils view lib/libcook.sh @ rev 422

Add libcook.sh and start sharing code between cook, cooker and cookiso
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 19 05:17:29 2012 +0200 (2012-05-19)
parents
children d9b8c75bb5bb
line source
1 #!/bin/sh
2 #
3 # Cook library - Shared configs and functions between cook, the cooker and
4 # cookiso. Read the README before adding or modifing any code in libcook.sh!
5 #
6 # Copyright (C) SliTaz GNU/Linux - GNU gpl v3
7 # Author: Christophe Lincoln <pankso@slitaz.org>
8 #
9 . /lib/libtaz.sh
10 . /usr/lib/slitaz/libpkg.sh
11 . /etc/slitaz/slitaz.conf
13 # System wide config can be overwriten by a cook.conf in current path.
14 [ -f "/etc/slitaz/cook.conf" ] && . /etc/slitaz/cook.conf
15 [ -f "cook.conf" ] && . ./cook.conf