aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/installer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/installer.rs')
-rw-r--r--crates/shirabe/src/installer.rs8
1 files changed, 3 insertions, 5 deletions
diff --git a/crates/shirabe/src/installer.rs b/crates/shirabe/src/installer.rs
index d46d693d..f68ab35f 100644
--- a/crates/shirabe/src/installer.rs
+++ b/crates/shirabe/src/installer.rs
@@ -1257,17 +1257,15 @@ impl Installer {
if self.execute_operations {
local_repo.set_dev_package_names(self.locker.borrow_mut().get_dev_package_names()?);
- let mut local_repo_ref = local_repo.borrow_mut();
self.installation_manager.borrow_mut().execute(
- local_repo_ref
- .as_installed_repository_interface_mut()
- .unwrap(),
+ &crate::repository::InstalledRepositoryInterfaceHandle::from_repository_handle(
+ &local_repo,
+ ),
local_repo_transaction.get_operations().clone(),
self.dev_mode,
self.run_scripts,
self.download_only,
)?;
- drop(local_repo_ref);
// see https://github.com/composer/composer/issues/2764
if !local_repo_transaction.get_operations().is_empty() {