mirror of
https://github.com/YunoHost-Apps/flarum_ynh.git
synced 2024-09-03 18:36:24 +02:00
parent
33e7d38da4
commit
ed1283a2e0
2 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
# Version numbers
|
# Version numbers
|
||||||
|
project_version="0.1.0-beta.7"
|
||||||
flarum_version="0.1.0-beta.7.2"
|
flarum_version="0.1.0-beta.7.2"
|
||||||
ssowat_ext_ver="0.6"
|
ssowat_ext_ver="0.6"
|
||||||
|
|
||||||
|
|
|
@ -69,6 +69,7 @@ ynh_app_setting_set $app admin $admin
|
||||||
ynh_app_setting_set $app is_public $is_public
|
ynh_app_setting_set $app is_public $is_public
|
||||||
ynh_app_setting_set $app language $language
|
ynh_app_setting_set $app language $language
|
||||||
ynh_app_setting_set $app final_path $final_path
|
ynh_app_setting_set $app final_path $final_path
|
||||||
|
ynh_app_setting_set $app project_version $project_version
|
||||||
ynh_app_setting_set $app flarum_version $flarum_version
|
ynh_app_setting_set $app flarum_version $flarum_version
|
||||||
ynh_app_setting_set $app ssowat_ext_ver $ssowat_ext_ver
|
ynh_app_setting_set $app ssowat_ext_ver $ssowat_ext_ver
|
||||||
ynh_app_setting_set $app bazaar_extension $bazaar_extension
|
ynh_app_setting_set $app bazaar_extension $bazaar_extension
|
||||||
|
@ -103,7 +104,7 @@ sudo chmod -R 0775 $tmp
|
||||||
# Install Flarum
|
# Install Flarum
|
||||||
ynh_print_info "Composer is installing Flarum and its dependencies. It may take a while..."
|
ynh_print_info "Composer is installing Flarum and its dependencies. It may take a while..."
|
||||||
# First, create the project with core and all basic extensions
|
# First, create the project with core and all basic extensions
|
||||||
exec_composer $app $final_path "create-project flarum/flarum $tmp --stability=beta --ansi -d $tmp"
|
exec_composer $app $final_path "create-project flarum/flarum=$project_version $tmp --stability=beta --ansi -d $tmp"
|
||||||
# Let's fix the core version by explicitely requiring it
|
# Let's fix the core version by explicitely requiring it
|
||||||
exec_composer $app $final_path "require flarum/core:$flarum_version -n --ansi -d $tmp"
|
exec_composer $app $final_path "require flarum/core:$flarum_version -n --ansi -d $tmp"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue