mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
Fix datadir test
This commit is contained in:
parent
748249566f
commit
8e0065fffe
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ datadir="/home/yunohost.app/${app}/data"
|
|||
|
||||
# The data directory will be restored only if it exists in the backup archive
|
||||
# So only if it was backup previously.
|
||||
if [ -d "$YNH_BACKUP_DIR/data" ]
|
||||
if [ -d "$YNH_BACKUP_DIR/apps/$app/backup/home/yunohost.app/$app" ]
|
||||
then
|
||||
ynh_restore_file "$datadir"
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue