---
name: "Config::Model::Backend::Dpkg::DebHelperFile"
section: "3pm"
platform: "linux"
package: "libconfig-model-dpkg-perl"
version: "3.014"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Config::Model::Backend::Dpkg::DebHelperFile"
---

# Config::Model::Backend::Dpkg::DebHelperFile(3pm)

R/W backend for DebHelper files

## 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)](/debhelper/7.md)
