Kouhei Sutou
null+****@clear*****
Sat Nov 5 18:25:11 JST 2016
Kouhei Sutou 2016-11-05 18:25:11 +0900 (Sat, 05 Nov 2016) New Revision: 373b67726e992b982da83d4214baf1c989ae41fe https://github.com/groonga/wikipedia-search/commit/373b67726e992b982da83d4214baf1c989ae41fe Message: Download xz iif it doesn't exist Modified files: benchmark/centos7/en-postgresql.sh Modified: benchmark/centos7/en-postgresql.sh (+3 -1) =================================================================== --- benchmark/centos7/en-postgresql.sh 2016-11-05 18:21:26 +0900 (d45714c) +++ benchmark/centos7/en-postgresql.sh 2016-11-05 18:25:11 +0900 (5fcf432) @@ -51,7 +51,9 @@ ensure_data() run sudo -H yum install -y wget pxz run mkdir -p "${data_dir}" cd "${data_dir}" - run wget --no-verbose http://packages.groonga.org/tmp/${data}.xz + if [ ! -f "${data}.xz" ]; then + run wget --no-verbose http://packages.groonga.org/tmp/${data}.xz + fi run pxz --keep --decompress ${data}.xz cd - } -------------- next part -------------- HTML����������������������������...Download