mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
Update upgrade: fix boring bug because of apt install piped into jq
This commit is contained in:
parent
eed5f66f01
commit
fc131c1b3b
1 changed files with 3 additions and 0 deletions
|
@ -89,6 +89,9 @@ function list_installed_apps_not_compatible_with_future_version()
|
||||||
local core_apps_in_current_version=$(mktemp)
|
local core_apps_in_current_version=$(mktemp)
|
||||||
local nextcloud_destination_appcatalog=$(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
|
# List installed apps
|
||||||
exec_occ app:list --output json | jq -r ".enabled | keys[]" | sort > $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
|
# Fetch Nextcloud list of core apps from their github repo for the current version
|
||||||
|
|
Loading…
Add table
Reference in a new issue