Bug#483418: debian-policy: Not limit dpkg-divert to install but valid also for upgrade in app. G
Jörg Sommer <joerg@alea.gnuu.de> writes:
>> 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.
I believe it's not permissible to divert the same file more than once.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: