cookutils annotate 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 |
rev | line source |
---|---|
pankso@422 | 1 #!/bin/sh |
pankso@422 | 2 # |
pankso@422 | 3 # Cook library - Shared configs and functions between cook, the cooker and |
pankso@422 | 4 # cookiso. Read the README before adding or modifing any code in libcook.sh! |
pankso@422 | 5 # |
pankso@422 | 6 # Copyright (C) SliTaz GNU/Linux - GNU gpl v3 |
pankso@422 | 7 # Author: Christophe Lincoln <pankso@slitaz.org> |
pankso@422 | 8 # |
pankso@422 | 9 . /lib/libtaz.sh |
pankso@422 | 10 . /usr/lib/slitaz/libpkg.sh |
pankso@422 | 11 . /etc/slitaz/slitaz.conf |
pankso@422 | 12 |
pankso@422 | 13 # System wide config can be overwriten by a cook.conf in current path. |
pankso@422 | 14 [ -f "/etc/slitaz/cook.conf" ] && . /etc/slitaz/cook.conf |
pankso@422 | 15 [ -f "cook.conf" ] && . ./cook.conf |