pub struct DebConfig {Show 14 fields
pub depends: Option<Vec<String>>,
pub recommends: Option<Vec<String>>,
pub provides: Option<Vec<String>>,
pub conflicts: Option<Vec<String>>,
pub replaces: Option<Vec<String>>,
pub files: HashMap<PathBuf, PathBuf>,
pub section: Option<String>,
pub priority: Option<String>,
pub changelog: Option<PathBuf>,
pub desktop_template: Option<PathBuf>,
pub pre_install_script: Option<PathBuf>,
pub post_install_script: Option<PathBuf>,
pub pre_remove_script: Option<PathBuf>,
pub post_remove_script: Option<PathBuf>,
}Expand description
Configuration for Debian (.deb) bundles.
Fields§
§depends: Option<Vec<String>>The list of deb dependencies your application relies on.
recommends: Option<Vec<String>>The list of deb dependencies your application recommends.
provides: Option<Vec<String>>The list of dependencies the package provides.
conflicts: Option<Vec<String>>The list of package conflicts.
replaces: Option<Vec<String>>The list of package replaces.
files: HashMap<PathBuf, PathBuf>The files to include on the package.
section: Option<String>Define the section in Debian Control file. See : https://www.debian.org/doc/debian-policy/ch-archive.html#s-subsections
priority: Option<String>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
changelog: Option<PathBuf>Path of the uncompressed Changelog file, to be stored at /usr/share/doc/package-name/changelog.gz. See https://www.debian.org/doc/debian-policy/ch-docs.html#changelog-files-and-release-notes
desktop_template: Option<PathBuf>Path to a custom desktop file Handlebars template.
Available variables: categories, comment (optional), exec, icon and name.
pre_install_script: Option<PathBuf>Path to script that will be executed before the package is unpacked. See https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html
post_install_script: Option<PathBuf>Path to script that will be executed after the package is unpacked. See https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html
pre_remove_script: Option<PathBuf>Path to script that will be executed before the package is removed. See https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html
post_remove_script: Option<PathBuf>Path to script that will be executed after the package is removed. See https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html