Scroll to navigation

Config::Model::Backend::Dpkg::DebHelperFile(3pm) User Contributed Perl Documentation Config::Model::Backend::Dpkg::DebHelperFile(3pm)

NAME

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

SYNOPSIS

No synopsis. Internal class for cme dpkg

DESCRIPTION

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

AUTHOR

Dominique Dumont, (dod at debian.org)

SEE ALSO

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

2024-03-03 perl v5.38.2