dh_installzopeinstance(1)

dh_installzopeinstance1

Install a zope instance into package build directories

Usage

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

Overview

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.

Releases

7 releases since Debian 4.0 (Etch); the text changed 4 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7–8
  5. 9–10