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 | 90eab55daaa93e2f986627e680fda4fe072dd7e3 (patch) | |
| tree | 0136263cbe568d0b2ed33ba69b34c6fa95d565bb /packaging/debs | |
| parent | 8b17365e74f87a761f79a3a3d7ab7e537b6a3792 (diff) | |
| parent | 71e720a3756155d453bc0206139030107ca2615d (diff) | |
| download | rabbitmq-server-git-90eab55daaa93e2f986627e680fda4fe072dd7e3.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 134f16ee1b..b11340ef8a 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) |
