[debian-edu-commits] debian-edu/ 27/31: Adjust cron job to return exit code 0 also when the package is removed but not purged (Closes: #586199).

Alexander Alemayhu ccscanf-guest at moszumanska.debian.org
Tue Jun 10 23:27:34 UTC 2014


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

ccscanf-guest pushed a commit to branch master
in repository killer.

commit bf012ed7298f18a283602618addd6cb1a8889618
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Wed Jan 18 08:54:43 2012 +0000

    Adjust cron job to return exit code 0 also when the package is
    removed but not purged (Closes: #586199).
---
 debian/changelog   | 2 ++
 debian/cron.hourly | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 3520004..440f131 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ killer (0.90-8~svn75522) UNRELEASED; urgency=low
 
   * Change empty-domain.dpatch to fetch mail domain from DNS domain and
     not NIS domain (Closes: #656297).
+  * Adjust cron job to return exit code 0 also when the package is
+    removed but not purged (Closes: #586199).
 
  -- Petter Reinholdtsen <pere at debian.org>  Wed, 18 Jan 2012 09:52:24 +0100
 
diff --git a/debian/cron.hourly b/debian/cron.hourly
index b21db4d..af2056e 100644
--- a/debian/cron.hourly
+++ b/debian/cron.hourly
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-[ -x /usr/sbin/killer ] && /usr/sbin/killer
+if [ -x /usr/sbin/killer ] ; then /usr/sbin/killer; fi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/killer.git



More information about the debian-edu-commits mailing list