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

[fix] php8.1 not found on nc25 -> nc27 upgrade

This commit is contained in:
ljf 2023-12-09 23:57:08 +01:00
parent 5c7d41f9a5
commit e4a27e8ea4
No known key found for this signature in database

View file

@ -119,7 +119,7 @@ exec_occ() {
fi
if ! timeout 1 php$NEXTCLOUD_PHP_VERSION 2>/dev/null; then
local pkg_dependencies="$(dpkg-query --show --showformat='${Depends}' ${app}-ynh-deps)"
pkg_dependencies="${pkg_dependencies/$phpversion/$NEXTCLOUD_PHP_VERSION}"
pkg_dependencies="${pkg_dependencies//$phpversion/$NEXTCLOUD_PHP_VERSION}"
ynh_install_app_dependencies "$pkg_dependencies"
fi
(cd "$install_dir" && ynh_exec_as "$app" \