1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/firefly-iii_ynh.git synced 2024-09-03 18:36:13 +02:00
This commit is contained in:
ericgaspar 2021-11-29 12:44:54 +01:00
parent 1a6a089897
commit 3fb6bc7ad5
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 7 additions and 7 deletions

View file

@ -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"

View file

@ -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