3 # DO NOT EDIT - This file is being maintained by Chef
7 ROOT="<%= @directory %>"
9 cd $ROOT/taginfo/sources
11 if [ -f "$ROOT/data/taginfo-history.db" ]
13 cp $ROOT/data/taginfo-history.db $ROOT/sources
16 $ROOT/taginfo/sources/update_all.sh $ROOT/sources
18 mv $ROOT/data/taginfo-* $ROOT/data/old
19 mv $ROOT/sources/taginfo-*.db $ROOT/sources/*/taginfo-*.db $ROOT/data
20 mv $ROOT/sources/download/* $ROOT/download
22 touch $ROOT/taginfo/web/tmp/restart.txt