[Pkg-cron-devel] [SCM] Git repository for pkg-cron branch, master, updated. debian/3.0pl1-119-33-g856aa2b

Javier Fernandez-Sanguino jfs at debian.org
Wed Dec 28 01:31:37 UTC 2011


The following commit has been merged in the master branch:
commit af1053bc6d66ad4ae57f60d8d0a52f0c131a4c4a
Author: Javier Fernandez-Sanguino <jfs at debian.org>
Date:   Wed Dec 28 02:30:20 2011 +0100

    Do not continue if we are not configuring the package

diff --git a/debian/postinst b/debian/postinst
index d222e23..6d6fc49 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -2,6 +2,12 @@
 set -e
 
 crondir="/var/spool/cron"
+action="$1"
+
+if [ "$action" != configure ]; then
+    exit 0
+fi
+
 
 # LEGACY: This hasn't been relevant to Debian cron since the last Millenium,
 # but we keep it here to preserve the upgrade path... 

-- 
Git repository for pkg-cron



More information about the Pkg-cron-devel mailing list