MT#11125 fix bashism at 26c11e6e38. Don't restart prosody after install if node is not proxy

Change-Id: If5763dea1026d26a70d1ae31a50fb07a199fb096
changes/39/1039/1
Victor Seva 11 years ago
parent 26c11e6e38
commit c4633d8530

@ -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

Loading…
Cancel
Save