mirror of
https://codeberg.org/Toasterson/ips.git
synced 2026-04-10 21:30:41 +00:00
Remove backward compatibility logic for root pkg directory manifest copy in file_backend.rs
This commit is contained in:
parent
d00de23d52
commit
633e742528
1 changed files with 0 additions and 6 deletions
|
|
@ -492,12 +492,6 @@ impl Transaction {
|
||||||
debug!("Copying manifest from {} to {}", manifest_path.display(), pkg_manifest_path.display());
|
debug!("Copying manifest from {} to {}", manifest_path.display(), pkg_manifest_path.display());
|
||||||
fs::copy(&manifest_path, &pkg_manifest_path)?;
|
fs::copy(&manifest_path, &pkg_manifest_path)?;
|
||||||
|
|
||||||
// Also create a copy in the root pkg directory for backward compatibility
|
|
||||||
// This is temporary and should be removed once all clients are updated
|
|
||||||
debug!("Also creating a copy in the root pkg directory for backward compatibility");
|
|
||||||
let root_manifest_path = self.repo.join("pkg").join("manifest");
|
|
||||||
fs::copy(&manifest_path, &root_manifest_path)?;
|
|
||||||
|
|
||||||
// Clean up the transaction directory
|
// Clean up the transaction directory
|
||||||
fs::remove_dir_all(self.path)?;
|
fs::remove_dir_all(self.path)?;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue