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

Carla Schroder, Groklaw: This is the definitive Debian manual, and I wish it had been written years ago. Mr. Krafft's affection and enthusiasm for Debian is apparent, and makes this book a pleasurable read.

 
 

Powered by Plone

This site conforms to the following standards: