mirror of
https://github.com/YunoHost-Apps/framaforms_ynh.git
synced 2024-09-03 18:36:12 +02:00
Fix install
This commit is contained in:
parent
52c1ddf69d
commit
c788c42bb0
2 changed files with 6 additions and 0 deletions
|
@ -74,6 +74,9 @@ chown "$app:$app" "$install_dir/app/sites/default/settings.php"
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Installing database..." --weight=19
|
ynh_script_progression --message="Installing database..." --weight=19
|
||||||
|
|
||||||
|
# Chown from composer/drush install
|
||||||
|
chown -R "$app:www-data" "$install_dir"
|
||||||
|
|
||||||
_ynh_exec_with_drush_php drush "@$app" site-install framaforms_org \
|
_ynh_exec_with_drush_php drush "@$app" site-install framaforms_org \
|
||||||
install_configure_form.site_contact_url="https://forum.yunohost.org/t/framaforms-create-polls-using-drag-and-drop/8208" \
|
install_configure_form.site_contact_url="https://forum.yunohost.org/t/framaforms-create-polls-using-drag-and-drop/8208" \
|
||||||
install_configure_form.site_default_country=FR \
|
install_configure_form.site_default_country=FR \
|
||||||
|
|
|
@ -42,6 +42,9 @@ ynh_script_progression --message="Upgrading Drupal..." --weight=30
|
||||||
|
|
||||||
ynh_backup_if_checksum_is_different --file="$install_dir/app/sites/default/settings.php"
|
ynh_backup_if_checksum_is_different --file="$install_dir/app/sites/default/settings.php"
|
||||||
|
|
||||||
|
# Chown from composer/drush install
|
||||||
|
chown -R "$app:www-data" "$install_dir"
|
||||||
|
|
||||||
pushd "$install_dir"
|
pushd "$install_dir"
|
||||||
_ynh_exec_with_drush_php drush "@$app" variable-set --exact maintenance_mode 1
|
_ynh_exec_with_drush_php drush "@$app" variable-set --exact maintenance_mode 1
|
||||||
_ynh_exec_with_drush_php drush "@$app" cache-clear all
|
_ynh_exec_with_drush_php drush "@$app" cache-clear all
|
||||||
|
|
Loading…
Reference in a new issue