mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
backup/multimedia: test that /home/yunohots.multimedia does exists to avoid boring warning later
This commit is contained in:
parent
387f57d630
commit
170eaf5d74
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ source /usr/share/yunohost/helpers
|
|||
# Backup destination
|
||||
backup_dir="${1}/data/multimedia"
|
||||
|
||||
if [ -e "/home/yunohost.multimedia/.nobackup" ]; then
|
||||
if [ ! -e "/home/yunohost.multimedia" ] || [ -e "/home/yunohost.multimedia/.nobackup" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue