diff --git a/build-scripts/daily_build.sh b/build-scripts/daily_build.sh index 65a7d734d7..011be1f817 100755 --- a/build-scripts/daily_build.sh +++ b/build-scripts/daily_build.sh @@ -27,4 +27,5 @@ git pull --rebase 2>&1 >>$LOG_FILE # 4. Synchronize github with googlecode mercurial "${DIRECTORY}/sync_git_google.sh" 2>&1 >>$LOG_FILE - +# 5. update site files +"${DIRECTORY}/update_site.sh" 2>&1 >>$LOG_FILE diff --git a/build-scripts/update_site.sh b/build-scripts/update_site.sh new file mode 100755 index 0000000000..9fa1c41780 --- /dev/null +++ b/build-scripts/update_site.sh @@ -0,0 +1,10 @@ +#!/bin/sh +DIRECTORY=$(cd `dirname $0` && pwd) + +GIT_SITE_DIR=$DIRECTORY/osmand-git/config/site +LOCAL_SITE_DIR=/var/www-download + +files='*.php tile_sources.xml favicon.ico' +for f in $files ; do + cp $GIT_SITE_DIR/$f $LOCAL_SITE_DIR/ -u; +done diff --git a/config/site/favicon.ico b/config/site/favicon.ico new file mode 100644 index 0000000000..cb294e0c6a Binary files /dev/null and b/config/site/favicon.ico differ