From 79a0563bb4043dc8e42451de2ce195acefdca0a8 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 22 Sep 2019 15:15:46 +0200 Subject: [PATCH] [fix] do not set flarum/core version --- scripts/install | 2 -- scripts/upgrade | 2 -- 2 files changed, 4 deletions(-) diff --git a/scripts/install b/scripts/install index c464c2d..a2ff33c 100644 --- a/scripts/install +++ b/scripts/install @@ -130,8 +130,6 @@ ynh_script_progression --message="Composer is installing Flarum and its dependen # First, create the project with core and all basic extensions ynh_composer_exec $app $php_version $final_path "create-project flarum/flarum=$project_version $tmp --stability=beta --ansi -d $tmp" -# Let's fix the core version by explicitely requiring it -ynh_composer_exec $app $php_version $final_path "require flarum/core:$core_version -n --ansi -d $tmp" # Copy Flarum to working directory and clean temp directory cp -Rf $tmp/* $final_path diff --git a/scripts/upgrade b/scripts/upgrade index 5e874c5..1c7de05 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -201,8 +201,6 @@ if [[ $(dpkg --compare-versions $old_project_version lt "0.1.0-beta.8" && echo t # First, create the project with core and all basic extensions ynh_composer_exec $app $php_version $final_path "create-project flarum/flarum=$project_version $tmp --stability=beta --ansi -d $tmp" - # Let's fix the core version by explicitely requiring it - ynh_composer_exec $app $php_version $final_path "require flarum/core:$core_version -n --ansi -d $tmp" # Copy Flarum to working directory cp -Rf $tmp/* $final_path