---
name: "dh_installdefoma"
section: "1"
platform: "linux"
package: "defoma"
version: "0.11.11"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/dh_installdefoma"
---

# dh\_installdefoma(1)

install a defoma related scripts

## NAME

dh\_installdefoma - install a defoma related scripts

## SYNOPSIS

**dh\_installdefoma** *\[debhelper options\] \[-n\]*

## DESCRIPTION

dh\_installdefoma is a debhelper program that is responsible for installing files related to defoma (DEbian FOnt MAnager) into package build directories. dh\_installdefoma can be used by defoma-aware packages and/or font packages using defoma.

It also automatically generates the postinst and pre/postrm commands needed to register a package as a defoma-aware and/or font package using defoma. See [**dh\_installdeb**(1)](/dh_installdeb/1.md) for an explanation of how this works.

If a file named debian/package.defoma exists, then it is installed into usr/share/defoma/scripts/package.defoma in the package build directory and put an un/registration method in maintainer scripts with defoma-app.     If a file named debian/package.defoma-hints exists, then it is installed in etc/defoma/hints/package.hints in the package build directory and put an un/registration method in maintainer scripts with defoma-font. So when you create a defoma font package, what you need to do is only to put its hints file in debian/package.defoma-hints and install font files written in the hints file in the appropriate locations. When you create a defoma-aware package, what you need to do is only to put its defoma-script file in debian/package.defoma. The script file is automatically installed in the package build directory.

## OPTIONS

- **debhelper options**

  See [**debhelper**(1)](/debhelper/1.md) for a list of options common to all debhelper commands.

- **-n, --noscripts**

  Do not modify postinst/postrm scripts.

## ENVIRONMENT

See [**debhelper**(1)](/debhelper/1.md) for a list of environment variables that affect all debhelper commands.

## NOTES

Note that this command is not idempotent. "dh\_clean -k" should be called between invocations of this command. Otherwise, it may cause multiple instances of the same text to be added to maintainer scripts.

## SEE ALSO

- [**debhelper**(1)](/debhelper/1.md)

  ## AUTHOR

Masato Taruishi \<taru@debian.org\>
