Mercurial > debian > masqmail-debian
view preinst @ 54:733f8e64de02
removed rmail.1 because upstream includes it now
it is rmail.8 now
author | meillo@marmaro.de |
---|---|
date | Sun, 18 Jul 2010 10:53:32 +0200 |
parents | 845b243eb46f |
children |
line wrap: on
line source
#!/bin/sh set -e ##$DEBIAN_SCRIPT_DEBUG || set -v -x if [ "$1" = "upgrade" ] ; then if dpkg --compare-versions "$2" lt "0.1.6-1" ; then # move config file to new location if [ -e /etc/masqmail.conf ]; then if [ ! -d /etc/masqmail ]; then mkdir /etc/masqmail mv -f /etc/masqmail.conf /etc/masqmail/ fi fi fi if dpkg --compare-versions "$2" le "0.2.20-1" ; then [ -d /var/log/masqmail ] && chown -R mail:mail /var/log/masqmail/ fi fi #DEBHELPER#