show sparko installed or not

This commit is contained in:
rootzoll
2021-08-03 22:25:36 +02:00
parent f9234ed3de
commit 583517cf1e

View File

@@ -23,6 +23,7 @@ if [ ${#sphinxrelay} -eq 0 ]; then sphinxrelay="off"; fi
if [ ${#lit} -eq 0 ]; then lit="off"; fi if [ ${#lit} -eq 0 ]; then lit="off"; fi
if [ ${#whitepaper} -eq 0 ]; then whitepaper="off"; fi if [ ${#whitepaper} -eq 0 ]; then whitepaper="off"; fi
if [ ${#chantools} -eq 0 ]; then chantools="off"; fi if [ ${#chantools} -eq 0 ]; then chantools="off"; fi
if [ ${#sparko} -eq 0 ]; then sparko="off"; fi
# show select dialog # show select dialog
echo "run dialog ..." echo "run dialog ..."
@@ -48,7 +49,7 @@ fi
# just available for CLN # just available for CLN
if [ "${lightning}" == "cln" ]; then if [ "${lightning}" == "cln" ]; then
OPTIONS+=(k 'Sparko' ${sphinxrelay}) OPTIONS+=(k 'Sparko' ${sparko})
fi fi
OPTIONS+=(j 'JoinMarket' ${joinmarket}) OPTIONS+=(j 'JoinMarket' ${joinmarket})