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

Fix upgrade

This commit is contained in:
Kayou 2019-11-06 18:43:09 +09:00 committed by GitHub
parent 1f6076fe5d
commit 91eeac6073
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -182,7 +182,7 @@ ynh_install_php --phpversion="$php_version" --package="$extra_pkg_dependencies"
# Define a function to execute commands with `occ`
exec_occ() {
(cd "$final_path" && exec_as "$app" \
php occ --no-interaction --no-ansi "$@")
php$php_version occ --no-interaction --no-ansi "$@")
}
# Define a function to add an external storage