summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@lshift.net>2008-12-17 11:59:56 +0000
committerSimon MacMullen <simon@lshift.net>2008-12-17 11:59:56 +0000
commite887476a41a09debee940bf0ca2326e3d92893f3 (patch)
tree1875f6396817b4ffb606afc6096e5e68e2bc00c7
parentde1de57e858662f04a6cf6f5ec0e1a5c7a1350d3 (diff)
downloadrabbitmq-server-e887476a41a09debee940bf0ca2326e3d92893f3.tar.gz
Removed schema check in debian packaging
-rw-r--r--packaging/debs/Debian/debian/config25
-rw-r--r--packaging/debs/Debian/debian/po/POTFILES.in1
-rw-r--r--packaging/debs/Debian/debian/postinst1
-rw-r--r--packaging/debs/Debian/debian/templates20
4 files changed, 0 insertions, 47 deletions
diff --git a/packaging/debs/Debian/debian/config b/packaging/debs/Debian/debian/config
deleted file mode 100644
index 9020888a..00000000
--- a/packaging/debs/Debian/debian/config
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh -e
-
-# Source debconf library.
-. /usr/share/debconf/confmodule
-
-if ! su rabbitmq -s /bin/sh -c /usr/lib/rabbitmq/bin/rabbitmq-mnesia-current ; then
- db_beginblock
- db_input high rabbitmq-server/mnesia-dir-note || true
- db_input high rabbitmq-server/do-what-with-mnesia-dir || true
- db_endblock
- db_go
-
- db_get rabbitmq-server/do-what-with-mnesia-dir
- if [ "$RET" = "Deleted" ]; then
- rm -r /var/lib/rabbitmq/mnesia/
- elif [ "$RET" = "Moved" ]; then
- db_input high rabbitmq-server/move-mnesia-dir-where || true
- db_go
-
- db_get rabbitmq-server/move-mnesia-dir-where
-
- mkdir -p "`dirname $RET`"
- mv /var/lib/rabbitmq/mnesia "$RET"
- fi
-fi
diff --git a/packaging/debs/Debian/debian/po/POTFILES.in b/packaging/debs/Debian/debian/po/POTFILES.in
deleted file mode 100644
index cef83a34..00000000
--- a/packaging/debs/Debian/debian/po/POTFILES.in
+++ /dev/null
@@ -1 +0,0 @@
-[type: gettext/rfc822deb] templates
diff --git a/packaging/debs/Debian/debian/postinst b/packaging/debs/Debian/debian/postinst
index d0575628..f92131d0 100644
--- a/packaging/debs/Debian/debian/postinst
+++ b/packaging/debs/Debian/debian/postinst
@@ -34,7 +34,6 @@ chown -R rabbitmq:rabbitmq /var/log/rabbitmq
case "$1" in
configure)
- . /usr/share/debconf/confmodule
;;
abort-upgrade|abort-remove|abort-deconfigure)
diff --git a/packaging/debs/Debian/debian/templates b/packaging/debs/Debian/debian/templates
deleted file mode 100644
index 2d5acc15..00000000
--- a/packaging/debs/Debian/debian/templates
+++ /dev/null
@@ -1,20 +0,0 @@
-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.
-
-Template: rabbitmq-server/do-what-with-mnesia-dir
-Type: select
-_Choices: Moved, Deleted, Kept (WILL BREAK)
-Default: Moved
-_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: