~ubuntu-branches/ubuntu/hardy/mailman/hardy-updates

« back to all changes in this revision

Viewing changes to debian/config

  • Committer: Bazaar Package Importer
  • Author(s): Thijs Kinkhorst
  • Date: 2007-12-04 09:12:39 UTC
  • Revision ID: james.westby@ubuntu.com-20071204091239-bbzg0l8s287uzibv
Tags: 1:2.1.9-9
* Drop suggests for obsolete python-*-codecs and drop versioned
  dependencies for pre-oldstable versions.
* Fix formatting of man pages (Closes: #432848).
* Fix some bashisms in Debian packaging scripts.
* Do not make /var/log/mailman world-readable, because it can contain
  a bit of semi-private information. Thanks Alexander Gerasiov.
  (Closes: #450927)
* After logrotate, call 'mailmanctl reopen' instead of sending SIGHUP
  since that is the supported way of rotating logs (Closes: #424620).
* Fix pidfile location in mailman.init, thanks Peter Rabbitson
  (Closes: #439325).
* Make symlinks to /var/lo{g,ck}/mailman absolute, because the relative
  ones cause trouble on systems where people move these things around
  (Closes: #408855, #413604). Override lintian since this is allowed by
  policy.
* Checked for policy 3.7.3, no changes required. Additional packaging
  cleanups.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh -e
2
2
# $URL: svn+ssh://svn.debian.org/svn/pkg-mailman/trunk/debian/config $
3
 
# $Id: config 354 2006-09-18 13:19:03Z thijs $
 
3
# $Id: config 520 2007-12-04 09:28:12Z thijs $
4
4
 
5
5
. /usr/share/debconf/confmodule
6
6
 
51
51
  db_fset mailman/used_languages scanned false
52
52
else
53
53
  if [ "${scanned}" != "true" ] ; then
54
 
    echo -n "Looking for enabled languages (this may take some time) ..."
 
54
    printf "Looking for enabled languages (this may take some time) ..."
55
55
    unset used_languages
56
56
    for l in $(get_used_languages); do
57
57
      used_languages=${used_languages:+${used_languages} }$l
59
59
    db_set  mailman/used_languages "${used_languages}"
60
60
    db_fset mailman/used_languages scanned true
61
61
    db_fset mailman/used_languages seen false
62
 
    echo " done."
 
62
    printf " done.\n"
63
63
  fi
64
64
  # Install only languages selected by the administrator
65
65
  # forcing used languages to be always available.
97
97
 
98
98
db_input low mailman/gate_news || true
99
99
 
100
 
if [ ! -e /etc/mailman/mm_cfg.py -o ! -x /var/lib/mailman/bin/list_lists ] || \
 
100
if [ ! -e /etc/mailman/mm_cfg.py ] || [ ! -x /var/lib/mailman/bin/list_lists ] || \
101
101
    [ "$(/var/lib/mailman/bin/list_lists -b | grep ^mailman$ )" = "" ]; then
102
102
    db_input critical mailman/create_site_list || true
103
103
fi