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

Add --quiet

This commit is contained in:
ericgaspar 2021-07-19 11:54:08 +02:00
parent 41157faaba
commit 8bc2ef8e42
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 4 additions and 4 deletions

View file

@ -81,7 +81,7 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path
git clone --quiet https://github.com/friendica/friendica.git -b stable "$final_path" git clone --quiet https://github.com/friendica/friendica.git -b stable "$final_path"
# Reset branch to the level of update we needed # Reset branch to the level of update we needed
pushd "$final_path" pushd "$final_path"
git reset --hard $version_commit git reset --hard --quiet $version_commit
popd popd
# Copy .htaccess-dist to ..htaccess # Copy .htaccess-dist to ..htaccess
@ -91,7 +91,7 @@ cp -f "$final_path/.htaccess-dist" "$final_path/.htaccess"
git clone --quiet https://github.com/friendica/friendica-addons.git -b stable "$final_path/addon" git clone --quiet https://github.com/friendica/friendica-addons.git -b stable "$final_path/addon"
# Reset addons branch to the level of update we needed # Reset addons branch to the level of update we needed
pushd "$final_path/addon" pushd "$final_path/addon"
git reset --hard $addons_version_commit git reset --hard --quiet $addons_version_commit
popd popd
chmod 750 "$final_path" chmod 750 "$final_path"

View file

@ -134,14 +134,14 @@ else
git clone --quiet https://github.com/friendica/friendica.git -b stable "$final_path" git clone --quiet https://github.com/friendica/friendica.git -b stable "$final_path"
# Reset branch to the level of update we needed # Reset branch to the level of update we needed
pushd "$final_path" pushd "$final_path"
git reset --hard $version_commit git reset --hard --quiet $version_commit
popd popd
# 2 - Clone addons repo # 2 - Clone addons repo
git clone --quiet https://github.com/friendica/friendica-addons.git -b stable "$final_path/addon" git clone --quiet https://github.com/friendica/friendica-addons.git -b stable "$final_path/addon"
# Reset addons branch to the level of update we needed # Reset addons branch to the level of update we needed
pushd "$final_path/addon" pushd "$final_path/addon"
git reset --hard $addons_version_commit git reset --hard --quiet $addons_version_commit
popd popd
# Restore the smarty3 folder # Restore the smarty3 folder