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

[fix] not a valid identifier

This commit is contained in:
ljf 2023-11-23 15:42:05 +01:00
parent 09480c4e9d
commit 655e232754
No known key found for this signature in database

View file

@ -118,7 +118,7 @@ exec_occ() {
NEXTCLOUD_PHP_VERSION="7.1"
fi
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}
ynh_install_app_dependencies $pkg_dependencies
fi