1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00

fix missing pdo_pgsql

This commit is contained in:
Jean-Baptiste Holcroft 2019-03-01 23:00:38 +01:00
parent 805903ed9b
commit 376936f537
3 changed files with 6 additions and 8 deletions

View file

@ -393,5 +393,3 @@ catch_workers_output = yes
php_admin_value[open_basedir] = none php_admin_value[open_basedir] = none
php_admin_value[date.timezone] = "YHTZ" php_admin_value[date.timezone] = "YHTZ"
extension=pdo_pgsql.so

View file

@ -84,7 +84,7 @@ ynh_app_setting_set "$app" port "$port"
# Install packages # Install packages
ynh_install_app_dependencies php-curl php-cli php-mbstring php-pgsql php-xml \ ynh_install_app_dependencies php-curl php-cli php-mbstring php-pgsql php-xml \
postgresql postgresql php7.0-pgsql
#================================================= #=================================================
# CREATE A PostgreSQL DATABASE # CREATE A PostgreSQL DATABASE
@ -157,8 +157,8 @@ ynh_replace_string "'/ws/'" "'${path_url%/}/ws/'" \
( (
cd "$final_path" cd "$final_path"
curl -sS https://getcomposer.org/installer | php -- --install-dir="$final_path" \ curl -sS https://getcomposer.org/installer | php -- --install-dir="$final_path" \
&& php composer.phar config --global discard-changes true --verbose \ && php composer.phar config --global discard-changes true \
&& php composer.phar install --no-interaction --verbose && php composer.phar install --no-interaction
) )
#================================================= #=================================================

View file

@ -83,7 +83,7 @@ path_url=$(ynh_normalize_url_path $path_url)
#================================================= #=================================================
ynh_install_app_dependencies php-curl php-cli php-mbstring php-pgsql php-xml \ ynh_install_app_dependencies php-curl php-cli php-mbstring php-pgsql php-xml \
postgresql postgresql php7.0-pgsql
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # DOWNLOAD, CHECK AND UNPACK SOURCE