mirror of
https://github.com/YunoHost-Apps/restic_ynh.git
synced 2024-09-03 20:16:22 +02:00
fix: removed -b option in yunohost app list command
This commit is contained in:
parent
4f9f137b6b
commit
46c547c4fb
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ fi
|
||||||
|
|
||||||
# Backup all apps independently
|
# Backup 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
|
||||||
backup_app=false
|
backup_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