mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
Zgrompf
This commit is contained in:
parent
10c7976d05
commit
f2829d02bc
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ exec_occ() {
|
||||||
|
|
||||||
# NB : be super careful when designing this part of the code, because calling ynh_install_app_dependencies
|
# NB : be super careful when designing this part of the code, because calling ynh_install_app_dependencies
|
||||||
# will do magic regarding php configuration and $phpversion when the php version of the dependencies changes ...
|
# will do magic regarding php configuration and $phpversion when the php version of the dependencies changes ...
|
||||||
phpversion=$(ynh_app_setting_set --app=$app --key=phpversion)
|
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
||||||
if [[ "$NEXTCLOUD_PHP_VERSION" != "$phpversion" ]]; then
|
if [[ "$NEXTCLOUD_PHP_VERSION" != "$phpversion" ]]; 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}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue