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 22:26:15 +01:00
parent 655e232754
commit 83215038ea
No known key found for this signature in database

View file

@ -119,8 +119,8 @@ 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}
ynh_install_app_dependencies $pkg_dependencies
pkg_dependencies="${pkg_dependencies/$phpversion/$NEXTCLOUD_PHP_VERSION}"
ynh_install_app_dependencies "$pkg_dependencies"
fi
(cd "$install_dir" && ynh_exec_as "$app" \
php$NEXTCLOUD_PHP_VERSION --define apc.enable_cli=1 occ --no-interaction --no-ansi "$@")