mirror of
https://github.com/YunoHost-Apps/question2answer_ynh.git
synced 2024-09-03 20:16:07 +02:00
Remove prints to stderr from git
This commit is contained in:
parent
ae4ad4ca83
commit
e0966b90a6
2 changed files with 3 additions and 9 deletions
|
@ -160,9 +160,7 @@ ynh_script_progression --message="Installing Translations..." --weight=6
|
||||||
### French
|
### French
|
||||||
|
|
||||||
if [ $language == "fr" ]; then
|
if [ $language == "fr" ]; then
|
||||||
ynh_print_OFF
|
git clone https://github.com/mrflos/q2a-lang-fr $final_path/qa-lang/fr 2>&1
|
||||||
git clone https://github.com/mrflos/q2a-lang-fr $final_path/qa-lang/fr
|
|
||||||
ynh_print_ON
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -137,14 +137,10 @@ ynh_script_progression --message="Upgrading Translations..." --time --weight=1
|
||||||
if [ $language == "fr" ]; then
|
if [ $language == "fr" ]; then
|
||||||
if [ -e $final_path/qa-lang/fr ]; then
|
if [ -e $final_path/qa-lang/fr ]; then
|
||||||
cd $final_path/qa-lang/fr
|
cd $final_path/qa-lang/fr
|
||||||
ynh_print_OFF
|
git pull 2>&1
|
||||||
git pull
|
|
||||||
ynh_print_ON
|
|
||||||
cd -
|
cd -
|
||||||
else
|
else
|
||||||
ynh_print_OFF
|
git clone https://github.com/mrflos/q2a-lang-fr $final_path/qa-lang/fr 2>&1
|
||||||
git clone https://github.com/mrflos/q2a-lang-fr $final_path/qa-lang/fr
|
|
||||||
ynh_print_ON
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue