From 6922a0494472af14ef92e123ece5ceaa60819244 Mon Sep 17 00:00:00 2001 From: hooksie1 Date: Thu, 3 Aug 2017 10:55:55 -0400 Subject: [PATCH] Fix incorrect if statement variable --- xo_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xo_install.sh b/xo_install.sh index 9150479..69fde48 100644 --- a/xo_install.sh +++ b/xo_install.sh @@ -38,7 +38,7 @@ sudo sed -i "s|#'/': '/path/to/xo-web/dist/'|'/': '/opt/xo-web/dist'|" .xo-serve cd $xo_web_dir /usr/bin/yarn install --force -if [[ ! -e $xo_systemd_service ]] ; then +if [[ ! -e $systemd_service_dir/$xo_service ]] ; then /bin/cat << EOF >> $systemd_service_dir/$xo_service # systemd service for XO-Server.