1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/framaforms_ynh.git synced 2024-09-03 18:36:12 +02:00

Fallback to php 7.4 because the issue on CI seems to related to PHP 8.x ..

This commit is contained in:
Alexandre Aubin 2023-09-18 15:33:54 +02:00
parent eab04277d1
commit 8fd28f8611
2 changed files with 2 additions and 5 deletions

View file

@ -43,7 +43,7 @@ ram.runtime = "50M"
[install.language]
ask.en = "Choose the application language"
ask.fr = "Choisissez la langue de l'application"
type = "string"
type = "choices"
choices = ["de", "en", "es", "fr", "it", "pt"]
default = "en"
@ -87,7 +87,7 @@ ram.runtime = "50M"
main.url = "/"
[resources.apt]
packages = "postgresql, curl, libzip-dev, php8.1-fpm, php8.1-cli, php8.1-gd, php8.1-mysql, php8.1-xml, php8.1-ldap, php8.1-mbstring, php8.1-pgsql"
packages = "postgresql, curl, libzip-dev, php7.4-fpm, php7.4-cli, php7.4-gd, php7.4-mysql, php7.4-xml, php7.4-ldap, php7.4-mbstring, php7.4-pgsql"
[resources.database]
type = "postgresql"

View file

@ -107,9 +107,6 @@ chown $app:$app "$install_dir/app/sites/default/settings.php"
#=================================================
ynh_script_progression --message="Installing database..." --weight=19
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
update-alternatives --set php /usr/bin/php$phpversion
ynh_exec_as $app env PATH=$PATH 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_default_country=FR -y --locale="$language" --account-name="admin" --account-pass="$password" --site-name="Framaforms" --site-mail="$admin_mail" 2>&1
ynh_exec_as $app env PATH=$PATH drush @$app variable-set update_notify_emails "$admin_mail"