[Fix] Fix ynh_restore_upgradebackup

This commit is contained in:
Maniack Crudelis 2018-01-22 19:06:37 +01:00 committed by GitHub
parent 324ab9494b
commit 8a51b46d47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,7 +64,7 @@ ynh_backup_before_upgrade () {
echo "This app doesn't have any backup script." >&2 echo "This app doesn't have any backup script." >&2
return return
fi fi
local backup_number=1 backup_number=1
local old_backup_number=2 local old_backup_number=2
local app_bck=${app//_/-} # Replace all '_' by '-' local app_bck=${app//_/-} # Replace all '_' by '-'