mirror of
https://github.com/YunoHost-Apps/friendica_ynh.git
synced 2024-09-03 18:36:14 +02:00
Fix quiet
This commit is contained in:
parent
ccfcc7da0e
commit
eadb925ec4
1 changed files with 9 additions and 9 deletions
|
@ -121,22 +121,22 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]; then
|
||||||
fi
|
fi
|
||||||
git fetch --quiet
|
git fetch --quiet
|
||||||
git checkout stable --quiet
|
git checkout stable --quiet
|
||||||
git pull --quite
|
git pull --quiet
|
||||||
git reset --hard $version_commit --quiet
|
git reset --hard $version_commit --quiet
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd "$final_path/addon"
|
pushd "$final_path/addon"
|
||||||
if [ ! `git rev-parse --is-inside-work-tree &> /dev/null` ]; then
|
if [ ! `git rev-parse --is-inside-work-tree &> /dev/null` ]; then
|
||||||
# If current install is not a Git repo then init one
|
# If current install is not a Git repo then init one
|
||||||
git init --quiet
|
git init --quiet
|
||||||
git remote add origin $addons_repo_url
|
git remote add origin $addons_repo_url
|
||||||
git fetch origin --quiet
|
git fetch origin --quiet
|
||||||
git checkout -b stable --track origin/stable --force --quiet
|
git checkout -b stable --track origin/stable --force --quiet
|
||||||
fi
|
fi
|
||||||
git fetch --quiet
|
git fetch --quiet
|
||||||
git checkout stable --quiet
|
git checkout stable --quiet
|
||||||
git pull --quiet
|
git pull --quiet
|
||||||
git reset --hard $addons_version_commit --quiet
|
git reset --hard $addons_version_commit --quiet
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue