mirror of
https://github.com/YunoHost-Apps/friendica_ynh.git
synced 2024-09-03 18:36:14 +02:00
upgrade: fix upgrade using git
This commit is contained in:
parent
38c471b920
commit
07ccfdb4bf
1 changed files with 4 additions and 2 deletions
|
@ -101,13 +101,15 @@ then
|
|||
# Update through git
|
||||
pushd "$final_path"
|
||||
git fetch
|
||||
git checkout stable $version_commit
|
||||
git checkout stable
|
||||
git pull
|
||||
git reset --hard $version_commit
|
||||
popd
|
||||
pushd "$final_path/addon"
|
||||
git fetch
|
||||
git checkout stable $addons_version_commit
|
||||
git checkout stable
|
||||
git pull
|
||||
git reset --hard $addons_version_commit
|
||||
popd
|
||||
# If git is not present upgrade through manual method
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue