mirror of
https://github.com/YunoHost-Apps/roundcube_ynh.git
synced 2024-09-03 20:16:28 +02:00
fix: only composer update during upgrade
This commit is contained in:
parent
1ff2ece540
commit
4266a05701
3 changed files with 4 additions and 4 deletions
|
@ -16,9 +16,8 @@ carddav_version=5.0.1
|
||||||
# DEFINE ALL COMMON FONCTIONS
|
# DEFINE ALL COMMON FONCTIONS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
install_composer() {
|
setup_composer_deps() {
|
||||||
cp "$install_dir/composer.json-dist" "$install_dir/composer.json"
|
cp "$install_dir/composer.json-dist" "$install_dir/composer.json"
|
||||||
ynh_install_composer
|
|
||||||
}
|
}
|
||||||
|
|
||||||
configure_roundcube() {
|
configure_roundcube() {
|
||||||
|
|
|
@ -59,7 +59,8 @@ ynh_mysql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name
|
||||||
# INSTALL DEPENDENCIES AND PLUGINS
|
# INSTALL DEPENDENCIES AND PLUGINS
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Installing Roundcube with Composer..." --weight=30
|
ynh_script_progression --message="Installing Roundcube with Composer..." --weight=30
|
||||||
install_composer
|
setup_composer_deps
|
||||||
|
ynh_install_composer
|
||||||
|
|
||||||
ynh_script_progression --message="Configuring Roundcube..." --weight=2
|
ynh_script_progression --message="Configuring Roundcube..." --weight=2
|
||||||
configure_roundcube
|
configure_roundcube
|
||||||
|
|
|
@ -83,7 +83,7 @@ ynh_add_nginx_config
|
||||||
# CONFIGURE ROUNDCUBE
|
# CONFIGURE ROUNDCUBE
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Installing Roundcube with Composer..." --weight=30
|
ynh_script_progression --message="Installing Roundcube with Composer..." --weight=30
|
||||||
install_composer
|
setup_composer_deps
|
||||||
ynh_composer_exec --commands="update --no-dev"
|
ynh_composer_exec --commands="update --no-dev"
|
||||||
|
|
||||||
ynh_script_progression --message="Configuring Roundcube..." --weight=2
|
ynh_script_progression --message="Configuring Roundcube..." --weight=2
|
||||||
|
|
Loading…
Reference in a new issue