[koules] 04/10: Drop obsolete postinst and prerm
Stephen Kitt
skitt at moszumanska.debian.org
Sat Oct 7 21:06:02 UTC 2017
This is an automated email from the git hooks/post-receive script.
skitt pushed a commit to branch master
in repository koules.
commit 852d7fbaf91cb77defc19199036e2f1f453e5410
Author: Stephen Kitt <steve at sk2.org>
Date: Sat Sep 16 15:55:36 2017 +0200
Drop obsolete postinst and prerm
---
debian/changelog | 2 ++
debian/koules.postinst | 31 -------------------------------
debian/koules.prerm | 27 ---------------------------
3 files changed, 2 insertions(+), 58 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index fb67977..a9fda4a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ koules (1.4-24) UNRELEASED; urgency=medium
* Switch to https: VCS URIs (see #810378).
* Switch to debhelper compatibility level 10.
* Drop old menu support.
+ * Drop obsolete postinst and prerm, they dealt with the /usr/share/doc
+ migration.
-- Stephen Kitt <skitt at debian.org> Fri, 22 Jan 2016 19:01:49 +0100
diff --git a/debian/koules.postinst b/debian/koules.postinst
deleted file mode 100644
index 19b0753..0000000
--- a/debian/koules.postinst
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-# postinst script for koules
-#
-# see: dh_installdeb(1)
-
-set -e
-
-case "$1" in
- configure)
- if [ -d /usr/doc -a -h /usr/doc/koules -a -d /usr/share/doc/koules ]; then
- rm -f /usr/doc/koules
- fi
- exit 0
-
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
-
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-#DEBHELPER#
-
-exit 0
-
-
diff --git a/debian/koules.prerm b/debian/koules.prerm
deleted file mode 100644
index 47cc884..0000000
--- a/debian/koules.prerm
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-# prerm script for koules
-#
-# see: dh_installdeb(1)
-
-set -e
-
-case "$1" in
- remove|upgrade|deconfigure)
- if [ -L /usr/doc/koules ]; then
- rm -f /usr/doc/koules
- fi
-
- ;;
- failed-upgrade)
- ;;
- *)
- echo "prerm called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-#DEBHELPER#
-
-exit 0
-
-
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/koules.git
More information about the Pkg-games-commits
mailing list