mirror of
https://github.com/YunoHost-Apps/borg_ynh.git
synced 2024-09-03 18:16:05 +02:00
Merge pull request #43 from YunoHost-Apps/alexAubin-patch-1
Fix app backup following disappearance of option -b
This commit is contained in:
commit
9ad5679799
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,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
|
||||
|
|
Loading…
Add table
Reference in a new issue