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

[fix] fi fi fi o_O

This commit is contained in:
ljf 2023-11-23 14:52:42 +01:00
parent ef627f820a
commit 09480c4e9d
No known key found for this signature in database

View file

@ -117,7 +117,7 @@ exec_occ() {
else else
NEXTCLOUD_PHP_VERSION="7.1" NEXTCLOUD_PHP_VERSION="7.1"
fi fi
if ! php$NEXTCLOUD_PHP_VERSION 2>/dev/null; then if ! timeout 1 php$NEXTCLOUD_PHP_VERSION 2>/dev/null; then
local pkg_dependencies = ${dpkg-query --show --showformat='${Depends}' ${app}-ynh-deps} 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 ynh_install_app_dependencies $pkg_dependencies