mirror of
https://github.com/YunoHost-Apps/firefly-iii_ynh.git
synced 2024-09-03 18:36:13 +02:00
--quiet
This commit is contained in:
parent
1a6a089897
commit
3fb6bc7ad5
2 changed files with 7 additions and 7 deletions
|
@ -94,7 +94,7 @@ ynh_script_progression --message="Cloning Firefly-iii..."
|
|||
|
||||
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
||||
|
||||
git clone -b $tag --depth 1 https://github.com/firefly-iii/firefly-iii.git $final_path
|
||||
git clone -b $tag --depth 1 https://github.com/firefly-iii/firefly-iii.git $final_path --quiet
|
||||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
|
|
|
@ -92,11 +92,11 @@ then
|
|||
pushd "$final_path"
|
||||
if [ $update -eq 1 ]
|
||||
then
|
||||
git fetch origin tag $latest_tag --no-tags
|
||||
git checkout $latest_tag
|
||||
git fetch --quiet origin tag $latest_tag --no-tags
|
||||
git checkout --quiet $latest_tag
|
||||
else
|
||||
git fetch origin tag $tag --no-tags
|
||||
git checkout $tag
|
||||
git fetch --quiet origin tag $tag --no-tags
|
||||
git checkout --quiet $tag --quiet
|
||||
fi
|
||||
ynh_secure_remove bootstrap/cache/*
|
||||
ynh_secure_remove vendor/
|
||||
|
@ -120,10 +120,10 @@ then
|
|||
if [ $update -eq 1 ]
|
||||
then
|
||||
|
||||
git clone -b $latest_tag --depth 1 https://github.com/firefly-iii/firefly-iii.git $final_path
|
||||
git clone --quiet -b $latest_tag --depth 1 https://github.com/firefly-iii/firefly-iii.git $final_path
|
||||
|
||||
else
|
||||
git clone -b $tag --depth 1 https://github.com/firefly-iii/firefly-iii.git $final_path
|
||||
git clone --quiet -b $tag --depth 1 https://github.com/firefly-iii/firefly-iii.git $final_path
|
||||
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue