Skip to content.
The Debian System -- Concepts and Techniques The Debian System -- Concepts and Techniques
Martin F. Krafft Open Source Press / No Starch Press ISBN 3-937514-07-4 / 1-593270-69-0
Sections
Personal tools

Two small errors in preinst file (page 490)

Document Actions
More...

Reported on: 2006-01-30

In chapter 9. Creating Debian packages on page 490:

The listing in section 9.4.1 contains two small errors related to the preinst file:

  1. The cat instruction should be redirected to debian/foo.preinst, not debian/foo/preinst.
  2. The version comparison within the preinst file should compare against 1.2.3-4, because presumably only versions before 1.2.3-4 used a working directory in /var/state.
Feedback

Richard Bejtlich, Tao Security: I was extremely impressed by Martin Krafft's The Debian System.

 
 

Powered by Plone

This site conforms to the following standards: