
| Path : /usr/share/debhelper/autoscripts/ |
| Current File : //usr/share/debhelper/autoscripts/preinst-moveconffile |
if [ "$1" = install ] || [ "$1" = upgrade ]; then
if [ -e "#OLD#" ]; then
if [ "`md5sum \"#OLD#\" | sed -e \"s/ .*//\"`" = \
"`dpkg-query -W -f='${Conffiles}' #PACKAGE# | sed -n -e \"\\\\' #OLD# '{s/ obsolete$//;s/.* //p}\"`" ]
then
rm -f "#OLD#"
fi
fi
fi