From c87f6fe611957f54b0381daa7e368bc8315fd105 Mon Sep 17 00:00:00 2001 From: Mathieu Le Marec - Pasquet Date: Thu, 29 Jun 2023 16:05:19 +0200 Subject: [PATCH] fix updater --- main.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.sh b/main.sh index 2dec4b1..ef70d3f 100755 --- a/main.sh +++ b/main.sh @@ -780,6 +780,8 @@ is_image() { do_refresh_corpusops() { if [[ -z ${SKIP_CORPUSOPS-} ]];then if [[ -n $COPS_ROOT ]] && [ ! -e "$COPS_ROOT" ];then mkdir -p "$COPS_ROOT";fi + COPS_ROOT="${COPS_ROOT:-$(pwd)/local/corpusops/corpusops.bootstrap}" + if [ -e $COPS_ROOT/.git ];then cd $COPS_ROOT && git pull && cd -;fi vv .ansible/scripts/download_corpusops.sh vv .ansible/scripts/setup_corpusops.sh fi