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

dpkg-divert usage



In dpkg-1.1.0, diversions.text refers to dpkg-override, which doesn't
exist. It appears to be dpkg-divert, which has a help file but no man
page. (and nothing else in dpkg-1.1.0/doc/* mentions it.)

So, just to make sure, for the xterm-color package, which provides
xterm overriding the one in xbase, I should use:
debian.preinst:
dpkg-divert --package xterm-color --divert xterm.mono --rename -add xterm
debian.postrm:
dpkg-divert --package xterm-color --divert xterm.mono --rename -remove xterm

right? thanks...


Reply to: