dh_installzopeinstance(1) install a zope instance into package build directories

SYNOPSIS

dh_installzopeinstance [debhelperĀ options] [-n] [instanceĀ name]

DESCRIPTION

dh_installzopeinstance is a debhelper program that is responsible for installing zope instances into package build directories.

The argument is interpreted as zope instance and will be created within the first package dh_installzopeinstance is told to act on. By default, this is the first binary package in debian/control, but if you use -p, -i, or -a flags, it will be the first package specified by those flags.

dh_installzopeinstance automatically install debian/dzinstance if it exists. If dh_installzopeinstance is acting on multiple packages, debian/dzinstance file will be installed into the first package. Use debian/package.dzinstance for different binary packages.

The substitution variable zope:Depends is replaced by a list of the available zope versions.

OPTIONS

-n, --noscripts
Do not modify postinst/prerm scripts.
instance name
This parameter will be considered as an instance name which will be installed into the first package acted on.

EXAMPLES

This is an example of a debian/package.dzinstance file:

  Package: plone-site
  ZopeVersion: 2.9
  Name: plone-site
  Addon-Mode: manual
  Addon-Technique: tree-linked
  Restart-Policy: end
  Products: CMFPlone
  Skeleton: /usr/lib/zope2.9/skel-with-magic

The Products field specify a list of comma separated products that will be automatically installed into the instance. Obviously, it has no sense if the Addon-Mode field contains 'all'. The optional Skeleton field specifies a path which is used as skeleton for the new zope instance.

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.

AUTHOR

Fabio Tranchitella <[email protected]> Bernd Zeimetz <[email protected]>