diff options
| author | Simon MacMullen <simon@lshift.net> | 2008-12-01 15:55:28 +0000 |
|---|---|---|
| committer | Simon MacMullen <simon@lshift.net> | 2008-12-01 15:55:28 +0000 |
| commit | e955a27cf0cc58ad3e133f84971e45efe7f9fd43 (patch) | |
| tree | 30e4d5601de8b625d49a485460f67c803295d22d /packaging | |
| parent | dc21e5ea5ee0ad7f17388ae0b978e5ba62ad5648 (diff) | |
| download | rabbitmq-server-git-e955a27cf0cc58ad3e133f84971e45efe7f9fd43.tar.gz | |
Invert the case of all this - check that the schema is current rather
than an update is needed.
Diffstat (limited to 'packaging')
| -rw-r--r-- | packaging/debs/Debian/debian/postinst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/debs/Debian/debian/postinst b/packaging/debs/Debian/debian/postinst index 94b6e727ac..13d8552f3d 100644 --- a/packaging/debs/Debian/debian/postinst +++ b/packaging/debs/Debian/debian/postinst @@ -36,7 +36,7 @@ case "$1" in configure) . /usr/share/debconf/confmodule - if su rabbitmq -s /bin/sh -c /usr/lib/rabbitmq/bin/rabbitmq-mnesia-update-needed ; then + 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 |
