1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yunorunner_ynh.git synced 2024-09-03 20:36:13 +02:00

Merge pull request #42 from YunoHost-Apps/fix-git

Fix git commands
This commit is contained in:
Alexandre Aubin 2023-02-12 17:47:58 +01:00 committed by GitHub
commit 3b418013e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -114,8 +114,8 @@ then
# Download, check integrity, uncompress and patch the source from app.src
pushd "$final_path"
git fetch --quiet --depth=1 origin "$yunorunner_release"
git reset --quiet --hard FETCH_HEAD
ynh_exec_as $app git fetch --quiet --depth=1 origin "$yunorunner_release"
ynh_exec_as $app git reset --quiet --hard FETCH_HEAD
popd
fi