#!/bin/sh -e

dpkg-maintscript-helper rm_conffile /etc/news/motd.news 2.5.3-1~ -- "$@"
dpkg-maintscript-helper mv_conffile /etc/news/radius.conf /etc/news/inn-radius.conf 2.5.3-3~ -- "$@"

if [ "$DPKG_MAINTSCRIPT_NAME" = preinst ]; then
  if [ -d /usr/share/doc/inn2-lfs -a ! -L /usr/share/doc/inn2-lfs ]; then
    if rmdir /usr/share/doc/inn2-lfs 2> /dev/null; then
      ln -s inn2 /usr/share/doc/inn2-lfs
    fi
  fi
fi

#DEBHELPER#

