[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#140697: debian-policy: Typo in Appendix G (diversions)

Package: debian-policy
Severity: minor

At the end of the diversions section, we have:

            if [ install = "$1" -o upgrade = "$1" ]; then
               dpkg-divert --package smailwrapper --add --rename \
                  --divert /usr/sbin/smail.real /usr/sbin/smail

     Testing `$1' is necessary so that the script doesn't try to add the
     diversion again when `smailwrapper' is upgraded.  The `--package
     smailwrapper' ensures that `smailwrapper''s copy of `/usr/sbin/smail'
     can bypass the diversion and get installed as the true version.

The two blocks contradict each other.  I believe that the "-o upgrade = "$1""
should be removed.

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux nevyn 2.4.17drow #2 SMP Mon Jan 28 11:14:26 EST 2002 i686

Versions of packages debian-policy depends on:
ii  fileutils                     4.1-10     GNU file management utilities

To UNSUBSCRIBE, email to debian-policy-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: