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:
parent
4d1fe7be97
commit
34b3b706b4
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ fi
|
||||||
|
|
||||||
# Check all apps independently
|
# Check all apps independently
|
||||||
apps=$(yunohost app setting {{ app }} apps)
|
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
|
check_app=false
|
||||||
for selected_app in $(echo $apps | tr "," " ");do
|
for selected_app in $(echo $apps | tr "," " ");do
|
||||||
if [[ "$selected_app" == "$app" ]] || [ "$apps" = "all" ]; then
|
if [[ "$selected_app" == "$app" ]] || [ "$apps" = "all" ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue