mirror of
https://github.com/YunoHost-Apps/flarum_ynh.git
synced 2024-09-03 18:36:24 +02:00
[fix] do not set flarum/core version
This commit is contained in:
parent
65afcc9477
commit
79a0563bb4
2 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue