From 46c547c4fb7b8e8e90f7c95513ef26c2e7e43b24 Mon Sep 17 00:00:00 2001 From: Lionel Coupouchetty-Ramouchetty Date: Fri, 19 Jun 2020 14:36:25 +0200 Subject: [PATCH] fix: removed -b option in yunohost app list command --- conf/backup-with-restic.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/backup-with-restic.j2 b/conf/backup-with-restic.j2 index 88f220e..2b26593 100644 --- a/conf/backup-with-restic.j2 +++ b/conf/backup-with-restic.j2 @@ -39,7 +39,7 @@ fi # Backup all apps independently apps=$(yunohost app setting {{ app }} apps) -for app in $(yunohost app list --installed -b | grep id: | cut -d: -f2); do +for app in $(ls /etc/yunohost/apps/*/scripts/backup | cut -d / -f 5); do backup_app=false for selected_app in $(echo $apps | tr "," " ");do if [[ "$selected_app" == "$app" ]] || [ "$apps" = "all" ]; then