1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/restic_ynh.git synced 2024-09-03 20:16:22 +02:00

fix: removed -b option for listing apps in check-restic

This commit is contained in:
Lionel Coupouchetty-Ramouchetty 2020-09-26 13:46:16 +02:00
parent 4d1fe7be97
commit 34b3b706b4

View file

@ -31,7 +31,7 @@ fi
# Check 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
check_app=false
for selected_app in $(echo $apps | tr "," " ");do
if [[ "$selected_app" == "$app" ]] || [ "$apps" = "all" ]; then