aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/installer/library_installer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/installer/library_installer.rs')
-rw-r--r--crates/shirabe/src/installer/library_installer.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/shirabe/src/installer/library_installer.rs b/crates/shirabe/src/installer/library_installer.rs
index c5a9608e..479fc6d5 100644
--- a/crates/shirabe/src/installer/library_installer.rs
+++ b/crates/shirabe/src/installer/library_installer.rs
@@ -232,11 +232,11 @@ impl LibraryInstaller {
#[async_trait::async_trait(?Send)]
impl InstallerInterface for LibraryInstaller {
- fn supports(&self, package_type: &str) -> bool {
- match &self.r#type {
+ fn supports(&self, package_type: &str) -> anyhow::Result<bool> {
+ Ok(match &self.r#type {
Some(t) => package_type == t,
None => true,
- }
+ })
}
fn is_installed(