[Logcheck-commits] [logcheck] 01/01: Remove obsolete debian/logcheck-database.postinst
Hannes von Haugwitz
hvhaugwitz at moszumanska.debian.org
Sun Jan 22 14:19:06 UTC 2017
This is an automated email from the git hooks/post-receive script.
hvhaugwitz pushed a commit to branch master
in repository logcheck.
commit 621baaab17c8fe5e501eec29c62f54ad83e0531d
Author: Hannes von Haugwitz <hannes at vonhaugwitz.com>
Date: Sun Jan 22 15:16:19 2017 +0100
Remove obsolete debian/logcheck-database.postinst
---
debian/changelog | 1 +
debian/logcheck-database.postinst | 72 ---------------------------------------
2 files changed, 1 insertion(+), 72 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 2f95b0e..5cf059e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -26,6 +26,7 @@ logcheck (1.3.18) UNRELEASED; urgency=medium
- use secure Vcs-* fields
- bump to Standards-Version 3.9.8 (no changes necessary)
* debian/copyright: update copyright year to 2017
+ * Remove obsolete debian/logcheck-database.postinst
* Add support for logcheck.logfiles.d, thanks to Vincas Dargis for
the initial patch (closes: #481353)
* Replace all occurrences of 'deinstall' with 'uninstall', thanks to duelle
diff --git a/debian/logcheck-database.postinst b/debian/logcheck-database.postinst
deleted file mode 100644
index a9d1a6c..0000000
--- a/debian/logcheck-database.postinst
+++ /dev/null
@@ -1,72 +0,0 @@
-#!/bin/sh
-# postinst script for logcheck-database
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <postinst> `configure' <most-recently-configured-version>
-# * <old-postinst> `abort-upgrade' <new version>
-# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-# <new-version>
-# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-# <failed-install-package> <version> `removing'
-# <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-#
-# quoting from the policy:
-# Any necessary prompting should almost always be confined to the
-# post-installation script, and should be protected with a conditional
-# so that unnecessary prompting doesn't happen if a package's
-# installation fails and the `postinst' is called with `abort-upgrade',
-# `abort-remove' or `abort-deconfigure'.
-
-# Source debconf library.
-#. /usr/share/debconf/confmodule
-
-confdir="/etc/logcheck"
-
-case "$1" in
- configure)
- # Remove old sarge mv logcheck-data configfiles if unchanged
- if dpkg --compare-versions "$2" lt-nl "1.2.48"; then
- proftpd_sum=$(sha1sum '/etc/logcheck/ignore.d.paranoid/proftpd' 2>/dev/null \
- | awk '{print $1}')
- imap_sum=$(sha1sum '/etc/logcheck/ignore.d.paranoid/imap' 2>/dev/null \
- | awk '{print $1}')
- anacron_sum=$(sha1sum '/etc/logcheck/ignore.d.workstation/anacron' 2>/dev/null \
- | awk '{print $1}')
- if [ "${proftpd_sum}" = "da39a3ee5e6b4b0d3255bfef95601890afd80709" ]; then
- rm -rf /etc/logcheck/ignore.d.paranoid/proftpd
- fi
- if [ "${imap_sum}" = "9d4e9db1bd0c5cdd5ea3ba8875e628bf50cf1f5f" ]; then
- rm -rf /etc/logcheck/ignore.d.paranoid/imap
- fi
- if [ "${anacron_sum}" = "78e753ffeff32474a805a7654aa99a07076b6975" ]; then
- rm -rf /etc/logcheck/ignore.d.workstation/anacron
- fi
- fi
-
- if getent group logcheck >/dev/null; then
- chgrp -R logcheck /etc/logcheck
- fi
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
- :
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/logcheck/logcheck.git
More information about the Logcheck-commits
mailing list