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

John R. Vacca: [...] an outstanding book that is based on Debian using Linux as the kernel. [...] This excellent book has done an excellent job of targeting people familiar with Unix who are looking to understand what makes Debian different.

 
 

Powered by Plone

This site conforms to the following standards: