Remove the unnecessary flatpak feature flag
This commit is contained in:
@@ -4,5 +4,4 @@ pub mod arch;
|
||||
pub mod debian;
|
||||
pub mod python;
|
||||
pub mod rust;
|
||||
#[cfg(feature = "flatpak")]
|
||||
pub mod flatpak;
|
||||
|
||||
@@ -18,6 +18,5 @@ pub enum Backends {
|
||||
Debian,
|
||||
Python,
|
||||
Rust,
|
||||
#[cfg(feature = "flatpak")]
|
||||
Flatpak,
|
||||
}
|
||||
|
||||
@@ -129,11 +129,8 @@ impl Pacdef {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "flatpak")]
|
||||
{
|
||||
if let Some(flatpak) = backend.as_any_mut().downcast_mut::<crate::backend::Flatpak>() {
|
||||
flatpak.systemwide = self.config.flatpak_systemwide;
|
||||
}
|
||||
if let Some(flatpak) = backend.as_any_mut().downcast_mut::<crate::backend::Flatpak>() {
|
||||
flatpak.systemwide = self.config.flatpak_systemwide;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user