mirror of
https://github.com/YunoHost-Apps/diaspora_ynh.git
synced 2024-09-03 18:26:13 +02:00
Try to be less verbose
This commit is contained in:
parent
de9c0135f5
commit
58975ecdce
3 changed files with 7 additions and 7 deletions
|
@ -101,7 +101,7 @@ source ./install_ruby
|
|||
# Download, check integrity, unucompress and patch the source from app.src
|
||||
pushd $final_path
|
||||
ynh_script_progression --message="Download the sources..." --weight=10
|
||||
sudo -u $app git clone https://github.com/diaspora/diaspora.git -b $current_tag
|
||||
ynh_exec_warn_less sudo -u $app git clone https://github.com/diaspora/diaspora.git -b $current_tag
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
@ -111,7 +111,7 @@ ynh_script_progression --message="Creating database..." --weight=1
|
|||
db_name=$(ynh_sanitize_dbid $app)
|
||||
ynh_app_setting_set --app=$app --key=db_name --value=$db_name
|
||||
ynh_psql_test_if_first_run
|
||||
ynh_psql_setup_db --db_user=$db_name --db_name=$db_name
|
||||
ynh_exec_warn_less ynh_psql_setup_db --db_user=$db_name --db_name=$db_name
|
||||
db_pass=$(ynh_app_setting_get --app=$app --key=psqlpwd)
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -4,15 +4,15 @@
|
|||
pushd $final_path
|
||||
if [ -x Experimental_helpers ]; then
|
||||
pushd Experimental_helpers
|
||||
git fetch
|
||||
ynh_exec_warn_less git fetch
|
||||
popd
|
||||
else
|
||||
git clone https://github.com/YunoHost-Apps/Experimental_helpers.git
|
||||
ynh_exec_warn_less git clone https://github.com/YunoHost-Apps/Experimental_helpers.git
|
||||
fi
|
||||
pushd Experimental_helpers
|
||||
git checkout 606b60cf6bb3906d32020392f0a824d1f9971e96
|
||||
ynh_exec_warn_less git checkout 606b60cf6bb3906d32020392f0a824d1f9971e96
|
||||
source ./ynh_install_ruby/ynh_install_ruby
|
||||
popd
|
||||
popd
|
||||
ynh_install_ruby --ruby_version=2.6.6
|
||||
ynh_exec_warn_less ynh_install_ruby --ruby_version=2.6.6
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@ source ./install_ruby
|
|||
# Download, check integrity, unucompress and patch the source from app.src
|
||||
pushd $final_path
|
||||
ynh_script_progression --message="Download the sources..." --weight=5
|
||||
sudo -u $app git clone https://github.com/diaspora/diaspora.git -b $current_tag
|
||||
ynh_exec_warn_less sudo -u $app git clone https://github.com/diaspora/diaspora.git -b $current_tag
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue