fix(dtmm): Fix re-creating boot bundle backup

This commit is contained in:
Lucas Schwiderski 2023-03-28 21:18:24 +02:00
parent cac35c476c
commit dbbfa6c9ae
Signed by: lucas
GPG key ID: AA12679AAA6DF4D8

View file

@ -597,7 +597,7 @@ pub(crate) async fn deploy_mods(state: ActionState) -> Result<()> {
.wrap_err("Failed to re-create backup for bundle database.")
},
async {
let path = bundle_dir.join(BOOT_BUNDLE_NAME);
let path = bundle_dir.join(boot_bundle_path);
let backup_path = path.with_extension("bak");
fs::copy(&path, &backup_path)