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

Christian Einfeldt, MadPenguin: Charles Darwin would “get” the beauty Debian if he were alive today. Martin Krafft certainly “gets” the beauty of Debian, and he wants you to get it too, so he has written a very detailed exposition of the Debian code and community. [...] If there was one word that I would use to describe Martin's book, that word would be “meticulous.”

 
 

Powered by Plone

This site conforms to the following standards: