Fix incorrect if statement variable

This commit is contained in:
hooksie1 2017-08-03 10:55:55 -04:00 committed by GitHub
parent 7f13ef0e6c
commit 6922a04944

View File

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