DOKK / manpages / debian 11 / libconfig-model-dpkg-perl / Config::Model::Backend::Dpkg::DebHelperFile.3pm.en
Config::Model::Backend::Dpkg::DebHelperFile(3pm) User Contributed Perl Documentation Config::Model::Backend::Dpkg::DebHelperFile(3pm)

Config::Model::Backend::Dpkg::DebHelperFile - R/W backend for DebHelper files

No synopsis. Internal class for cme dpkg

This backend module is used directly by Config::Model to read or write the content of Debian DebHelper files like "debian/install", "debian/package.postinst" and any variation thereof.

The backend must be declared with:

 'backend' => 'Dpkg::DebHelperFile',
 'config_dir' => 'debian',
 'file' => 'install'

The "file" parameter specifies the "main" name of the dh file, for instance "install", "postinst" ... This parameter can also be used to specify a file name that take into account the path in the tree using "&index()" and "&element()" functions from Config::Model::Role::ComputeFunction.

The backend will then be able to load files like "install", "pkg.install", "pkg.postinst.amd64"...

This backend is derived from Config::Model::Backend::PlainFile

Dominique Dumont, (dod at debian.org)

Config::Model, Config::Model::Backend::PlainFile, Config::Model::Backend::Any, debhelper(7)

2021-01-25 perl v5.32.0