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

Fix even more

This commit is contained in:
Mateusz 2024-05-12 22:13:00 +02:00
parent a5cdb481e9
commit 914056eea9
2 changed files with 4 additions and 4 deletions

View file

@ -58,7 +58,7 @@ ynh_install_composer
# hack to make composer use php8.2 rather than system-default 7.4
ln -s $(which php$phpversion) $install_dir/php
ynh_exec_warn_less ynh_exec_as $app PATH=$install_dir:$PATH ynh_composer_exec --commands="movim:migrate"
ynh_exec_warn_less ynh_exec_as $app PATH=$install_dir:$PATH; ynh_composer_exec --commands="movim:migrate"
rm $install_dir/php
ynh_exec_as "$app" "php$phpversion" "$install_dir/daemon.php" config --username="$admin" --password="$password" --quiet

View file

@ -68,9 +68,9 @@ ynh_exec_warn_less ynh_install_composer
# hack to make composer use php8.2 rather than system-default 7.4
ln -s $(which php$phpversion) $install_dir/php
ynh_exec_warn_less ynh_exec_as $app PATH=$install_dir:$PATH ynh_composer_exec --commands="config --global discard-changes true --quiet"
ynh_exec_warn_less ynh_exec_as $app PATH=$install_dir:$PATH ynh_composer_exec --commands="update --no-interaction --quiet"
ynh_exec_warn_less ynh_exec_as $app PATH=$install_dir:$PATH ynh_composer_exec --commands="movim:migrate --quiet"
ynh_exec_warn_less ynh_exec_as $app PATH=$install_dir:$PATH; ynh_composer_exec --commands="config --global discard-changes true --quiet"
ynh_exec_warn_less ynh_exec_as $app PATH=$install_dir:$PATH; ynh_composer_exec --commands="update --no-interaction --quiet"
ynh_exec_warn_less ynh_exec_as $app PATH=$install_dir:$PATH; ynh_composer_exec --commands="movim:migrate --quiet"
rm $install_dir/php