[Pkg-running-devel] [pytrainer] 10/12: Remove deprecated debian/postinst and debian/postrm scripts

Marcelo Santana darkstar-guest at moszumanska.debian.org
Tue Jan 12 16:00:45 UTC 2016


This is an automated email from the git hooks/post-receive script.

darkstar-guest pushed a commit to branch master
in repository pytrainer.

commit 8c1f5f4f9e1e0c5b30f07a86ac0674a3eeb9cdda
Author: Marcelo Santana <marcelo at msantana.eng.br>
Date:   Thu Jan 7 17:38:27 2016 -0300

    Remove deprecated debian/postinst and debian/postrm scripts
---
 debian/changelog |  1 +
 debian/postinst  | 17 -----------------
 debian/postrm    | 15 ---------------
 3 files changed, 1 insertion(+), 32 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1dc13c2..09f0454 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ pytrainer (1.10.2~git20160107-1) UNRELEASED; urgency=medium
   * Replace old style config section '[git-buildpackage]' with '[buildpackage]'
     in debian/gbp.conf file
   * Remove asterisk from debian/NEWS file
+  * Remove deprecated debian/postinst and debian/postrm scripts
 
  -- Marcelo Santana <marcelo at msantana.eng.br>  Thu, 07 Jan 2016 17:04:27 -0300
 
diff --git a/debian/postinst b/debian/postinst
deleted file mode 100644
index 253e51d..0000000
--- a/debian/postinst
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-set -e
-
-#DEBHELPER#
-
-case "$1" in
-        configure)
-                if test -x /usr/bin/update-menus; then update-menus; fi
-		if [ -x /usr/sbin/update-mime ]; then
-			update-mime
-			fi
-		if [ -x /usr/bin/update-desktop-database ]; then
-			update-desktop-database
-			fi
-                ;;
-        *)
-esac
diff --git a/debian/postrm b/debian/postrm
deleted file mode 100644
index e1b6294..0000000
--- a/debian/postrm
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-set -e
-
-#DEBHELPER#
-
-case "$1" in
-        configure)
-                if test -x /usr/bin/update-menus; then update-menus; fi
-                if [ -x /usr/bin/update-desktop-database ]; then
-                        update-desktop-database
-                        fi
-                ;;
-        *)
-esac
-

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-running/pytrainer.git



More information about the Pkg-running-devel mailing list