Added po-debconf support to satisfy translated debconf
requirement. See man po-debconf for details. Fixed minor warnings given by lintian.
This commit is contained in:
parent
0c7695eebb
commit
e20c21acb5
|
|
@ -3,7 +3,7 @@ Section: net
|
|||
Priority: extra
|
||||
Maintainer: Tony Garnock-Jones <tonyg@rabbitmq.com>
|
||||
Build-Depends: cdbs, debhelper (>= 5), erlang-nox, erlang-dev, python-simplejson
|
||||
Standards-Version: 3.7.2
|
||||
Standards-Version: 3.7.3
|
||||
|
||||
Package: rabbitmq-server
|
||||
Architecture: all
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
[type: gettext/rfc822deb] templates
|
||||
|
|
@ -0,0 +1,53 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: Source: rabbitmq-server@packages.debian.org\n"
|
||||
"POT-Creation-Date: 2008-12-12 03:14+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. Type: note
|
||||
#. Description
|
||||
#: ../templates:1001
|
||||
msgid "Schema changed"
|
||||
msgstr ""
|
||||
|
||||
#. Type: note
|
||||
#. Description
|
||||
#: ../templates:1001
|
||||
msgid ""
|
||||
"The RabbitMQ database schema has changed. If your RabbitMQ database contains "
|
||||
"important data, such as user accounts, durable exchanges and queues, or "
|
||||
"persistent messages, then it is recommended to contact support@rabbitmq.com "
|
||||
"for assistance with the upgrade. If you want to experiment with the new "
|
||||
"version in the meantime, simply move the database directory to a safe place. "
|
||||
"In all other cases just remove the directory."
|
||||
msgstr ""
|
||||
|
||||
#. Type: select
|
||||
#. Choices
|
||||
#: ../templates:2001
|
||||
msgid "Moved, Deleted, Kept (WILL BREAK)"
|
||||
msgstr ""
|
||||
|
||||
#. Type: select
|
||||
#. Description
|
||||
#: ../templates:2002
|
||||
msgid "The old RabbitMQ database directory should be:"
|
||||
msgstr ""
|
||||
|
||||
#. Type: string
|
||||
#. Description
|
||||
#: ../templates:3001
|
||||
msgid "Directory where the old RabbitMQ database should be moved:"
|
||||
msgstr ""
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
#!/bin/sh
|
||||
# preinst script for rabbitmq
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
# summary of how this script can be called:
|
||||
# * <new-preinst> `install'
|
||||
# * <new-preinst> `install' <old-version>
|
||||
# * <new-preinst> `upgrade' <old-version>
|
||||
# * <old-preinst> `abort-upgrade' <new-version>
|
||||
# for details, see http://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
|
||||
|
||||
case "$1" in
|
||||
install|upgrade)
|
||||
;;
|
||||
|
||||
abort-upgrade)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "preinst called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# dh_installdeb will replace this with shell code automatically
|
||||
# generated by other debhelper scripts.
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
|
||||
|
||||
|
|
@ -1,40 +0,0 @@
|
|||
#!/bin/sh
|
||||
# prerm script for rabbitmq
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
# summary of how this script can be called:
|
||||
# * <prerm> `remove'
|
||||
# * <old-prerm> `upgrade' <new-version>
|
||||
# * <new-prerm> `failed-upgrade' <old-version>
|
||||
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
|
||||
# * <deconfigured's-prerm> `deconfigure' `in-favour'
|
||||
# <package-being-installed> <version> `removing'
|
||||
# <conflicting-package> <version>
|
||||
# for details, see http://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
|
||||
|
||||
case "$1" in
|
||||
remove|upgrade|deconfigure)
|
||||
;;
|
||||
|
||||
failed-upgrade)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "prerm called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# dh_installdeb will replace this with shell code automatically
|
||||
# generated by other debhelper scripts.
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
|
||||
|
||||
|
|
@ -1,16 +1,20 @@
|
|||
Template: rabbitmq-server/mnesia-dir-note
|
||||
Type: note
|
||||
Description: Schema changed
|
||||
The RabbitMQ database schema has changed. If your RabbitMQ database contains important data, such as user accounts, durable exchanges and queues, or persistent messages, then it is recommended to contact support@rabbitmq.com for assistance with the upgrade. If you want to experiment with the new version in the meantime, simply move the database directory to a safe place. In all other cases just remove the directory.
|
||||
|
||||
_Description: Schema changed
|
||||
The RabbitMQ database schema has changed. If your RabbitMQ database
|
||||
contains important data, such as user accounts, durable exchanges and
|
||||
queues, or persistent messages, then it is recommended to contact
|
||||
support@rabbitmq.com for assistance with the upgrade. If you want to
|
||||
experiment with the new version in the meantime, simply move the database
|
||||
directory to a safe place. In all other cases just remove the directory.
|
||||
|
||||
Template: rabbitmq-server/do-what-with-mnesia-dir
|
||||
Type: select
|
||||
Choices: Moved, Deleted, Kept (WILL BREAK)
|
||||
_Choices: Moved, Deleted, Kept (WILL BREAK)
|
||||
Default: Moved
|
||||
Description: The old RabbitMQ database directory should be:
|
||||
_Description: The old RabbitMQ database directory should be:
|
||||
|
||||
Template: rabbitmq-server/move-mnesia-dir-where
|
||||
Type: string
|
||||
Default: /var/lib/rabbitmq/mnesia-old/
|
||||
Description: Directory where the old RabbitMQ database should be moved:
|
||||
_Description: Directory where the old RabbitMQ database should be moved:
|
||||
|
|
|
|||
Loading…
Reference in New Issue