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

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



Package: debian-policy
Version: 3.5.6.1
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
            fi

     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
Locale: LANG=C, LC_CTYPE=

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: