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

Bug#483418: debian-policy: Not limit dpkg-divert to install but valid also for upgrade in app. G



Hello,

Olivier Berger schrieb am Wed 28. May, 20:32 (+0200):
> Package: debian-policy
> Version: 3.7.3.0
> Severity: minor
> 
> In "Appendix G - Diversions - overriding a package's version of a file (from old Packaging Manual)", there's some misleading explanations on dpkg-divert preferred use in presint scriptsi (as I understand it, this is not related to policy itself, as it lies in the appendix, so this issue should be easily fixed ?).
> 
> The following example is provided with a sentence which seems erronous to me ATM :
> 
>        if [ install = "$1"  ]; then
>                  dpkg-divert --package smailwrapper --add --rename \
> 	              --divert /usr/sbin/smail.real /usr/sbin/smail
                                               ^^^^

By the way, the example should not suggest to use a fixed prefix, but the
package name. Because there might be more than one diversion which would
clash.

Bye, Jörg.
-- 
„Dass man etwas durchdringen kann, wenn man es durchschaut
 hat, ist der Irrtum der Fliege an der Fensterscheibe.“ (Nietzsche)

Attachment: signature.asc
Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP


Reply to: