mirror of
https://github.com/YunoHost-Apps/friendica_ynh.git
synced 2024-09-03 18:36:14 +02:00
Fix quite
This commit is contained in:
parent
c78be1309b
commit
7e2d35b031
1 changed files with 2 additions and 2 deletions
|
@ -115,7 +115,7 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]; then
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
if [ ! `git rev-parse --is-inside-work-tree &> /dev/null` ]; then
|
if [ ! `git rev-parse --is-inside-work-tree &> /dev/null` ]; then
|
||||||
git init --quiet
|
git init --quiet
|
||||||
git remote add origin $repo_url --quiet
|
git remote add origin $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
|
||||||
|
@ -124,7 +124,7 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]; then
|
||||||
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
|
||||||
git init --quiet
|
git init --quiet
|
||||||
git remote add origin $addons_repo_url --quiet
|
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue