Merge pull request #1 from YunoHost-Apps/testing

Fixing sources
This commit is contained in:
yalh76 2020-10-31 14:33:45 +01:00 committed by GitHub
commit 331a9a8ec0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View file

@ -87,7 +87,9 @@ ynh_script_progression --message="Setting up source files..."
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
# Download, check integrity, uncompress and patch the source from app.src
git clone $source $final_path
git checkout $COMMIT
pushd "$final_path"
git checkout $COMMIT
popd
#=================================================
# NGINX CONFIGURATION

View file

@ -88,8 +88,10 @@ then
ynh_script_progression --message="Upgrading source files..."
# Download, check integrity, uncompress and patch the source from app.src
git pull
git checkout $COMMIT
pushd "$final_path"
git pull
git checkout $COMMIT
popd
fi
#=================================================