[Fusionforge-commits] r16212 - in trunk: . src/debian/dsf-in src/packaging/cron.d src/packaging/install

Roland Mas lolando at fusionforge.org
Thu Sep 6 15:35:46 CEST 2012


Author: lolando
Date: 2012-09-06 15:35:45 +0200 (Thu, 06 Sep 2012)
New Revision: 16212

Removed:
   trunk/src/debian/dsf-in/lists-mailman.postinst
Modified:
   trunk/
   trunk/src/packaging/cron.d/lists-mailman
   trunk/src/packaging/install/lists-mailman
Log:
Adapt Debian packaging to the removal of a Debian-specific script

Deleted: trunk/src/debian/dsf-in/lists-mailman.postinst
===================================================================
--- trunk/src/debian/dsf-in/lists-mailman.postinst	2012-09-06 13:27:38 UTC (rev 16211)
+++ trunk/src/debian/dsf-in/lists-mailman.postinst	2012-09-06 13:35:45 UTC (rev 16212)
@@ -1,50 +0,0 @@
-#! /bin/sh
-# postinst script for @OLDPACKAGE@
-#
-# see: dh_installdeb(1)
-
-set -e
-# set -x				# Be verbose, be very verbose.
-
-# summary of how this script can be called:
-#        * <postinst> `configure' <most-recently-configured-version>
-#        * <old-postinst> `abort-upgrade' <new version>
-#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-#          <new-version>
-#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-#          <failed-install-package> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see /usr/share/doc/packaging-manual/
-#
-# quoting from the policy:
-#     Any necessary prompting should almost always be confined to the
-#     post-installation script, and should be protected with a conditional
-#     so that unnecessary prompting doesn't happen if a package's
-#     installation fails and the `postinst' is called with `abort-upgrade',
-#     `abort-remove' or `abort-deconfigure'.
-
-. /usr/share/debconf/confmodule
-
-case "$1" in
-    configure)
-	echo "Fixing past damage in mailing-lists..."
-	if [ -z "$2" ] || dpkg --compare-versions $2 le 3rc2-4 ; then
-	    /usr/share/@OLDPACKAGE@/bin/fix-mailing-lists.pl
-	fi
-    ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-    ;;
-
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 0
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0

Modified: trunk/src/packaging/cron.d/lists-mailman
===================================================================
--- trunk/src/packaging/cron.d/lists-mailman	2012-09-06 13:27:38 UTC (rev 16211)
+++ trunk/src/packaging/cron.d/lists-mailman	2012-09-06 13:35:45 UTC (rev 16212)
@@ -3,4 +3,4 @@
 #
 
 # Mailing-list creation
-55 * * * * root [ -x /usr/share/@OLDPACKAGE@/bin/create-mailing-lists.pl ] && /usr/share/@OLDPACKAGE@/bin/create-mailing-lists.pl > /dev/null 2>&1
+55 * * * * root $PHP $FFCRON/mail/mailing_lists_create.php

Modified: trunk/src/packaging/install/lists-mailman
===================================================================
--- trunk/src/packaging/install/lists-mailman	2012-09-06 13:27:38 UTC (rev 16211)
+++ trunk/src/packaging/install/lists-mailman	2012-09-06 13:35:45 UTC (rev 16212)
@@ -1,2 +1 @@
-deb-specific/create-mailing-lists.pl usr/share/@OLDPACKAGE@/bin/
-deb-specific/fix-mailing-lists.pl    usr/share/@OLDPACKAGE@/bin/
+cronjobs/mail          usr/share/@OLDPACKAGE@/cronjobs/
\ No newline at end of file




More information about the Fusionforge-commits mailing list