removing old conffiles on upgrade
Hi,
I've just changed the directories of the conffile, binaries etc. to
conform with Policy 3.5.5.0.
The old conffile dir was /etc/X11/filerunner and the new one is /etc/filerunner
and the problem is that when installing new package, and an older version is
installed, dpkg gives an error message, and the old conffile directory,
not being empty, does not get removed.
I've tried several things in prerm along the lines
if [ "$1" = "upgrade" ]; then
rm -rf /etc/X11/filerunner
fi
but it does not work.
Any help much appreciated.
Regards
Hussain
Reply to: