update_votes 263 Bytes
Newer Older
Jamesie Pic's avatar
Jamesie Pic committed
1
2
3
4
5
#!/bin/bash
set -ex

source ${OPENSHIFT_REPO_DIR}bin/lib.sh

Nicolas Joyard's avatar
Nicolas Joyard committed
6
7
8
9
10
parltrack_download_pipe ep_votes.json.xz parltrack_import_votes

sleep 10

francedata_download_pipe votes.json.gz francedata_import_votes
11
12
13
14
15

if [ "x$1" != "xnoscores" ]; then
	sleep 10
	refresh_scores
fi