From 2641426d37c345c6b8e8a58e34af94889fb107b8 Mon Sep 17 00:00:00 2001 From: ljf Date: Wed, 28 Nov 2018 23:54:23 +0100 Subject: [PATCH] [fix] Upgrade --- scripts/upgrade | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/upgrade b/scripts/upgrade index 5e8fde7..9e04451 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -55,6 +55,7 @@ path_url=$(ynh_normalize_url_path $path_url) # Download, check integrity, uncompress and patch the source from app.src pushd "$final_path" +git checkout master git pull --quiet git checkout $COMMIT --quiet git submodule update --init --recursive --quiet