provision: fix cl.install.sh syntax

This commit is contained in:
openoms 2022-02-05 16:13:11 +00:00
parent 18e75b7237
commit 817a09abd5
No known key found for this signature in database
GPG Key ID: 5BFB77609B081B65

View File

@ -298,10 +298,10 @@ else
fi
# LND binary install
if [ "${lightning}" == "cl" ] || [ "${cl}" == "on" ] || [ "${tcl}" == "on" ] || [ "${scl}" == "on" ]; then
if [ "${lightning}" == "cl" ] || [ "${cl}" == "on" ] || [ "${tcl}" == "on" ] || [ "${scl}" == "on" ]; then
# if already installed by fatpack will skip
echo "Provisioning C-Lightning Binary - run config script" >> ${logFile}
/home/admin/config.scripts/cl.install.sh on install >> ${logFile} 2>&1
/home/admin/config.scripts/cl.install.sh install >> ${logFile} 2>&1
else
echo "Provisioning C-Lightning Binary - not active" >> ${logFile}
fi