From c4633d8530644d7daad296ae64bf51358d7e090b Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Tue, 27 Jan 2015 13:38:35 +0100 Subject: [PATCH] MT#11125 fix bashism at 26c11e6e3841a. Don't restart prosody after install if node is not proxy Change-Id: If5763dea1026d26a70d1ae31a50fb07a199fb096 --- debian/ngcp-prosody-modules.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/ngcp-prosody-modules.postinst b/debian/ngcp-prosody-modules.postinst index d73929f..9c7c712 100644 --- a/debian/ngcp-prosody-modules.postinst +++ b/debian/ngcp-prosody-modules.postinst @@ -20,7 +20,7 @@ case "$1" in ;; esac fi - if [ -x "/etc/init.d/prosody" ] && [ "$NGCP_IS_PROXY" == "yes" ]; then + if [ -x "/etc/init.d/prosody" ] && [ "$NGCP_IS_PROXY" = "yes" ]; then echo "Restarting prosody service" if [ -x "$(which invoke-rc.d 2>/dev/null)" ]; then invoke-rc.d prosody restart || true