Two small errors in preinst file (page 490)
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:
- The cat instruction should be redirected to debian/foo.preinst, not debian/foo/preinst.
- 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.