Mercurial > masqmail-0.2
view debian/preinst @ 0:08114f7dcc23 0.2.21
this is masqmail-0.2.21 from oliver kurth
author | meillo@marmaro.de |
---|---|
date | Fri, 26 Sep 2008 17:05:23 +0200 |
parents | |
children |
line wrap: on
line source
#!/bin/sh -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#