mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
better installed apps list
This commit is contained in:
parent
6b3e5021b6
commit
97015b1974
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ ynh_remove_nodejs () {
|
|||
ynh_cleanup_nodejs () {
|
||||
|
||||
# List required Node.js versions
|
||||
local installed_apps=$(yunohost app list | grep -oP 'id: \K.*$')
|
||||
local installed_apps=$(yunohost app list --output-as json --quiet | jq -r .apps[].id)
|
||||
local required_nodejs_versions=""
|
||||
for installed_app in $installed_apps
|
||||
do
|
||||
|
|
Loading…
Add table
Reference in a new issue