cookutils rev 480 slitaz-tank

cook: Fixed what needs sourcing.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Jun 11 12:13:37 2012 +0000 (2012-06-11)
parents 86b1f8d50a5e
children 2fe7f7a1becd
files cook
line diff
     1.1 --- a/cook	Mon Jun 11 12:11:55 2012 +0000
     1.2 +++ b/cook	Mon Jun 11 12:13:37 2012 +0000
     1.3 @@ -6,19 +6,8 @@
     1.4  # Copyright (C) SliTaz GNU/Linux - GNU gpl v3
     1.5  # Author: Christophe Lincoln <pankso@slitaz.org>
     1.6  #
     1.7 -. /lib/libtaz.sh
     1.8 -
     1.9 -# SliTaz working directory
    1.10 -[ -f "/etc/slitaz/slitaz.conf" ] && . /etc/slitaz/slitaz.conf
    1.11 -[ -f "slitaz.conf" ] && . ./slitaz.conf
    1.12 -[ -f "/lib/libtaz.sh" ] && . /lib/libtaz.sh
    1.13 -[ -f "/etc/slitaz/cook.conf" ] && . /etc/slitaz/cook.conf
    1.14 -[ -f "cook.conf" ] && . ./cook.conf
    1.15 -[ -f "$DATA/libcook" ] && . $DATA/libcook
    1.16 -[ -f "$DATA/libcookorder" ] && . $DATA/libcookorder
    1.17 -
    1.18 -[ "$wan_db" ] && touch $wan_db
    1.19 -[ "$dep_db" ] && touch $dep_db
    1.20 +. /usr/lib/slitaz/libcook.sh
    1.21 +. /usr/lib/slitaz/libcookorder.sh
    1.22  
    1.23  COMMAND="$1"
    1.24