Mercurial > noffle
diff debian/postinst @ 444:bfdba1698a58 noffle
[svn] update
author | godisch |
---|---|
date | Wed, 25 Jun 2003 16:58:44 +0100 |
parents | b415fa4d18ee |
children | 0a5e33528ec1 |
line wrap: on
line diff
--- a/debian/postinst Wed Jun 25 16:41:02 2003 +0100 +++ b/debian/postinst Wed Jun 25 16:58:44 2003 +0100 @@ -1,5 +1,5 @@ -#!/bin/sh -# $Id: postinst 586 2003-06-25 15:41:02Z godisch $ +#!/bin/sh -x +# $Id: postinst 587 2003-06-25 15:58:44Z godisch $ set -e @@ -8,27 +8,6 @@ maxfetch_default=300 defexpire_default=14 -if dpkg --compare-versions "$2" lt-nl 1.1.2-1; then - echo - echo "/etc/noffle/conf moved to /etc/news/noffle.conf, /etc/noffle/conf.debian" - echo "moved to /etc/default/noffle. /etc/noffle and /var/log/noffle are not" - echo "used any longer, you may remove them. noffle expiration logs are" - echo "still available through syslog." - echo - sleep 2 - mv -fb /etc/noffle/conf /etc/news/noffle.conf || true - mv -fb /etc/noffle/conf.debian /etc/default/noffle || true - mv -fb /etc/noffle/conf.old /etc/news/noffle.conf.old 2> /dev/null || true - mv -fb /etc/noffle/conf.debian.old /etc/default/noffle.old 2> /dev/null || true - rmdir /etc/noffle 2> /dev/null || true -fi - -if dpkg --compare-versions "$2" eq 1.1.2-1; then - # 1.1.2-1 was in unstable only, don't notify - mv -fb /etc/noffle.conf /etc/news/noffle.conf || true - mv -fb /etc/noffle.conf.old /etc/news/noffle.conf.old 2> /dev/null || true -fi - if [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule db_version 2.0