From bf4f718ec0259dc67250abb37ea786f1ad4ee388 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Smodi=C5=A1?= Date: Thu, 8 Oct 2015 10:21:29 +0200 Subject: Bugfix refresh-deploy script: use = instead of == to test for equality. --- scripts/deploy/codeq_refresh_and_deploy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/deploy/codeq_refresh_and_deploy.sh b/scripts/deploy/codeq_refresh_and_deploy.sh index 46995ce..57a23b2 100755 --- a/scripts/deploy/codeq_refresh_and_deploy.sh +++ b/scripts/deploy/codeq_refresh_and_deploy.sh @@ -73,7 +73,7 @@ if [ $BUILD_WEB_RESOURCES -ne 0 ]; then fi if [ $RESTART_PROLOG -ne 0 ]; then echo Restarting codeq-prolog - if [ "$init" == systemd ]; then + if [ "$init" = systemd ]; then systemctl restart codeq-prolog else /etc/init.d/codeq-prolog restart @@ -81,7 +81,7 @@ if [ $RESTART_PROLOG -ne 0 ]; then fi if [ $RESTART_SERVER -ne 0 ]; then echo Restarting codeq-server - if [ "$init" == systemd ]; then + if [ "$init" = systemd ]; then systemctl restart codeq-server else /etc/init.d/codeq-server restart @@ -89,7 +89,7 @@ if [ $RESTART_SERVER -ne 0 ]; then fi if [ $RESTART_WEB -ne 0 ]; then echo Restarting codeq-web - if [ "$init" == systemd ]; then + if [ "$init" = systemd ]; then systemctl restart codeq-web else /etc/init.d/codeq-web restart -- cgit v1.2.1