[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[tex-common] 02/02: remove redundant code in postinst (Closes: #777558)



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

preining pushed a commit to branch master
in repository tex-common.

commit efe79cd29a667eeca563f914e81f854532819e03
Author: Norbert Preining <preining@debian.org>
Date:   Tue Feb 10 07:19:28 2015 +0900

    remove redundant code in postinst (Closes: #777558)
---
 debian/changelog | 3 ++-
 debian/postinst  | 7 -------
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7803d9e..9a55bda 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,9 @@ tex-common (5.04) UNRELEASED; urgency=medium
 
   * remove Atsuhito Kohda from uploaders, he has retired. Thanks for the
     long years of work! (Closes: #773961)
+  * remove redundant code in postinst (Closes: #777558)
 
- -- Norbert Preining <preining@debian.org>  Tue, 10 Feb 2015 07:17:11 +0900
+ -- Norbert Preining <preining@debian.org>  Tue, 10 Feb 2015 07:19:23 +0900
 
 tex-common (5.03) unstable; urgency=medium
 
diff --git a/debian/postinst b/debian/postinst
index edc08a4..965b565 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -47,13 +47,6 @@ trigger=$2
 . /usr/share/debconf/confmodule
 db_version 2.0
 
-cleanup()
-{
-  rc=$?
-  [ -n "$tempdir" ] && rm -rf "$tempdir"
-  exit $rc
-}
-
 dhit_texlive_binaries_configured ()
 {
     # unfortunately this seems not to work anymore, we have to make

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-tex/tex-common.git


Reply to: