Class FPM::Package::Deb
In: lib/fpm/package/deb.rb
lib/fpm/package/deb.rb
Parent: FPM::Package

Support for debian packages (.deb files)

This class supports both input and output of packages.

Methods

architecture   architecture   converted_from   converted_from   data_tar_flags   data_tar_flags   input   input   name   name   new   new   output   output   prefix   prefix   to_s   to_s  

Constants

SCRIPT_MAP = { :before_install => "preinst", :after_install => "postinst", :before_remove => "prerm", :after_remove => "postrm", :after_purge => "postrm", } unless defined?(SCRIPT_MAP)   Map of what scripts are named.
COMPRESSION_TYPES = [ "gz", "bzip2", "xz" ]   The list of supported compression types. Default is gz (gzip)
SCRIPT_MAP = { :before_install => "preinst", :after_install => "postinst", :before_remove => "prerm", :after_remove => "postrm", :after_purge => "postrm", } unless defined?(SCRIPT_MAP)   Map of what scripts are named.
COMPRESSION_TYPES = [ "gz", "bzip2", "xz" ]   The list of supported compression types. Default is gz (gzip)

Public Class methods

Public Instance methods

Return the architecture. This will default to native if not yet set. It will also try to use dpkg and ‘uname -m’ to figure out what the native ‘architecture’ value should be.

Return the architecture. This will default to native if not yet set. It will also try to use dpkg and ‘uname -m’ to figure out what the native ‘architecture’ value should be.

Get the name of this package. See also FPM::Package#name

This accessor actually modifies the name if it has some invalid or unwise characters.

Get the name of this package. See also FPM::Package#name

This accessor actually modifies the name if it has some invalid or unwise characters.

[Validate]