1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/elabftw_ynh.git synced 2024-09-03 18:26:23 +02:00
This commit is contained in:
ericgaspar 2022-05-17 12:03:04 +02:00
parent 609faa6d92
commit 8401fd736b
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@ nodejs_version=16
YNH_PHP_VERSION="8.0"
# dependencies used by the app
pkg_dependencies="php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-exif php${YNH_PHP_VERSION}-fileinfo php${YNH_PHP_VERSION}-gettext php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-fileinfo php${YNH_PHP_VERSION}-intl php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-ldap php${YNH_PHP_VERSION}-xml"
pkg_dependencies="brotli php${YNH_PHP_VERSION}-pdo_mysql php${YNH_PHP_VERSION}-exif php${YNH_PHP_VERSION}-fileinfo php${YNH_PHP_VERSION}-gettext php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-fileinfo php${YNH_PHP_VERSION}-intl php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-ldap php${YNH_PHP_VERSION}-xml"
YNH_COMPOSER_VERSION="2.3.5"

View file

@ -133,11 +133,11 @@ ynh_install_composer --install_args="--no-dev"
#=================================================
# INSTALL AND INITIALIZE COMPOSER
#=================================================
ynh_script_progression --message="Installing with Composer..." --weight=30
ynh_script_progression --message="Installing $app..." --weight=30
pushd "$final_path"
#ynh_exec_warn_less ynh_exec_as $app php$phpversion composer.phar install --prefer-dist --no-progress --no-dev
ynh_composer_exec phpversion=$phpversion --workdir=$final_path --commands="install --prefer-dist --no-progress --no-dev"
ynh_composer_exec --commands="install --prefer-dist --no-progress --no-dev"
ynh_script_progression --message="Yarn install..."
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH npm install --save https://github.com/foliojs/brotli.js/tarball/master