diff --git a/scripts/upgrade b/scripts/upgrade index fc5495f..ab3ab3a 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -89,6 +89,9 @@ function list_installed_apps_not_compatible_with_future_version() local core_apps_in_current_version=$(mktemp) local nextcloud_destination_appcatalog=$(mktemp) + # Run a first "dummy" command just to make sure we have the appropriate php dependencies installed, + # otherwise this creates funky stuff when tweaking the apt deps because the next command is piped into jq ... + exec_occ -V # List installed apps exec_occ app:list --output json | jq -r ".enabled | keys[]" | sort > $installed_apps # Fetch Nextcloud list of core apps from their github repo for the current version