cookutils rev 462 slitaz-tank
cook: Update init_db_files function.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Jun 07 16:57:41 2012 +0000 (2012-06-07) |
parents | b94be6aaa804 |
children | 0884204989d4 |
files | cook |
line diff
1.1 --- a/cook Thu Jun 07 16:55:12 2012 +0000 1.2 +++ b/cook Thu Jun 07 16:57:41 2012 +0000 1.3 @@ -78,12 +78,15 @@ 1.4 # Initialize files used in $CACHE 1.5 init_db_files() { 1.6 gettext "Creating directories structure in:"; echo " $SLITAZ" 1.7 - mkdir -p $WOK $PKGS $SRC $CACHE $LOGS 1.8 + mkdir -p $INCOMING $PKGS $SRC $FEEDS $CACHE $LOGS 1.9 gettext "Creating DB files in:"; echo " $CACHE" 1.10 - for f in $activity $command $broken $blocked 1.11 + for f in $activity $command $broken $blocked $commits $cookorder $cooklist $command $wan_db $dep_db $fullco $lib_db $unbuild 1.12 do 1.13 touch $f 1.14 done 1.15 + if [ -f $PKGS/libraries.txt ]; then 1.16 + cp -a $PKGS/libraries.txt $lib_db 1.17 + fi 1.18 } 1.19 1.20 # QA: check a receipt consistency before building.