1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/friendica_ynh.git synced 2024-09-03 18:36:14 +02:00

Fix comments and args

This commit is contained in:
Roman Kupriyanov 2021-07-21 18:23:03 +03:00 committed by GitHub
parent 21a9900e7c
commit 02a0685000
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -127,6 +127,7 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]; then
pushd "$final_path/addon"
if [ ! `git rev-parse --is-inside-work-tree &> /dev/null` ]; then
# If current install is not a Git repo then init one
git init --quiet
git remote add origin $addons_repo_url
git fetch origin --quiet
@ -135,7 +136,7 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]; then
git fetch --quiet
git checkout stable --quiet
git pull --quiet
git reset --quiet --hard $addons_version_commit
git reset --hard $addons_version_commit --quiet
popd
fi