# HG changeset patch # User Christopher Rogers # Date 1339416817 0 # Node ID ff51df709a1c5d3e0739a559cdde1677c8dfdf1b # Parent 86b1f8d50a5e52174ce181b2cfa2b514c849e9fc cook: Fixed what needs sourcing. diff -r 86b1f8d50a5e -r ff51df709a1c cook --- a/cook Mon Jun 11 12:11:55 2012 +0000 +++ b/cook Mon Jun 11 12:13:37 2012 +0000 @@ -6,19 +6,8 @@ # Copyright (C) SliTaz GNU/Linux - GNU gpl v3 # Author: Christophe Lincoln # -. /lib/libtaz.sh - -# SliTaz working directory -[ -f "/etc/slitaz/slitaz.conf" ] && . /etc/slitaz/slitaz.conf -[ -f "slitaz.conf" ] && . ./slitaz.conf -[ -f "/lib/libtaz.sh" ] && . /lib/libtaz.sh -[ -f "/etc/slitaz/cook.conf" ] && . /etc/slitaz/cook.conf -[ -f "cook.conf" ] && . ./cook.conf -[ -f "$DATA/libcook" ] && . $DATA/libcook -[ -f "$DATA/libcookorder" ] && . $DATA/libcookorder - -[ "$wan_db" ] && touch $wan_db -[ "$dep_db" ] && touch $dep_db +. /usr/lib/slitaz/libcook.sh +. /usr/lib/slitaz/libcookorder.sh COMMAND="$1"