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

Upgrade with ynh_exec_as git

This commit is contained in:
tituspijean 2023-02-02 22:55:27 +01:00
parent 3171bdb8da
commit 7ab2d596c2

View file

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