diff --git a/crates/packager/src/config/mod.rs b/crates/packager/src/config/mod.rs index 6dcf7e1c..ecb93c11 100644 --- a/crates/packager/src/config/mod.rs +++ b/crates/packager/src/config/mod.rs @@ -364,14 +364,14 @@ impl DebianConfig { } /// Define the section in Debian Control file. See : https://www.debian.org/doc/debian-policy/ch-archive.html#s-subsections - pub fn section>(self, section: S) -> Self { + pub fn section>(mut self, section: S) -> Self { self.section.replace(section.into()); self } /// Change the priority of the Debian Package. By default, it is set to `optional`. /// Recognized Priorities as of now are : `required`, `important`, `standard`, `optional`, `extra` - pub fn priority>(self, priority: S) -> Self { + pub fn priority>(mut self, priority: S) -> Self { self.priority.replace(priority.into()); self }