diff options
| author | Marek Majkowski <marek@rabbitmq.com> | 2011-02-16 17:44:57 +0000 |
|---|---|---|
| committer | Marek Majkowski <marek@rabbitmq.com> | 2011-02-16 17:44:57 +0000 |
| commit | 9380ad2409368a4205abe898de416056a8f251de (patch) | |
| tree | 0136263cbe568d0b2ed33ba69b34c6fa95d565bb /packaging/debs | |
| parent | 70635096f80d30cb2fff1425a17d4bf1aea9ca0b (diff) | |
| parent | 252f001977b42a1911575bbf3de76087ef3fe49d (diff) | |
| download | rabbitmq-server-9380ad2409368a4205abe898de416056a8f251de.tar.gz | |
bug21741 merged into default
Diffstat (limited to 'packaging/debs')
| -rw-r--r-- | packaging/debs/Debian/debian/postinst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/debs/Debian/debian/postinst b/packaging/debs/Debian/debian/postinst index 134f16ee..b11340ef 100644 --- a/packaging/debs/Debian/debian/postinst +++ b/packaging/debs/Debian/debian/postinst @@ -35,6 +35,10 @@ chown -R rabbitmq:rabbitmq /var/log/rabbitmq case "$1" in configure) + if [ -f /etc/rabbitmq/rabbitmq.conf ] && \ + [ ! -f /etc/rabbitmq/rabbitmq-env.conf ]; then + mv /etc/rabbitmq/rabbitmq.conf /etc/rabbitmq/rabbitmq-env.conf + fi ;; abort-upgrade|abort-remove|abort-deconfigure) |
