X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/7646875350f33fccb38f8553495b4b5cb9121ac8..128b54ff815f5de7498e6ea22cae37cec36e3eeb:/cookbooks/taginfo/templates/default/update-taginfo.erb diff --git a/cookbooks/taginfo/templates/default/update-taginfo.erb b/cookbooks/taginfo/templates/default/update-taginfo.erb deleted file mode 100644 index 417c30b86..000000000 --- a/cookbooks/taginfo/templates/default/update-taginfo.erb +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh - -# DO NOT EDIT - This file is being maintained by Chef - -set -e - -ROOT="<%= @directory %>" - -cd $ROOT/taginfo/sources - -if [ -f "$ROOT/data/taginfo-history.db" ] -then - cp $ROOT/data/taginfo-history.db $ROOT/sources -fi - -$ROOT/taginfo/sources/update_all.sh $ROOT/sources - -mv $ROOT/data/taginfo-* $ROOT/data/old -mv $ROOT/sources/taginfo-*.db $ROOT/sources/*/taginfo-*.db $ROOT/data -mv $ROOT/sources/download/* $ROOT/download - -touch $ROOT/taginfo/web/tmp/restart.txt - -find $ROOT/sources/log -mtime +28 -delete