Maniack Crudelis
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
scripts/restore
|
|
|
@ -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 |
|
|
|
|