mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-03-01 00:59:23 +01:00
fix: don't reinstall same CLN version + fmt (#3796)
This commit is contained in:
parent
4c1c1349d3
commit
4e1f2a4ae9
2 changed files with 5 additions and 6 deletions
|
@ -2,7 +2,7 @@
|
||||||
# https://lightning.readthedocs.io/
|
# https://lightning.readthedocs.io/
|
||||||
|
|
||||||
# https://github.com/ElementsProject/lightning/releases
|
# https://github.com/ElementsProject/lightning/releases
|
||||||
CLVERSION=v23.02.2
|
CLVERSION="v23.02.2"
|
||||||
|
|
||||||
# install the latest master by using the last commit id
|
# install the latest master by using the last commit id
|
||||||
# https://github.com/ElementsProject/lightning/commit/master
|
# https://github.com/ElementsProject/lightning/commit/master
|
||||||
|
|
|
@ -79,7 +79,6 @@ if [ "${mode}" = "verified" ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
if [ ${#clUpdateVersion} -gt 0 ]; then
|
if [ ${#clUpdateVersion} -gt 0 ]; then
|
||||||
/home/admin/config.scripts/cl.install.sh update v${clUpdateVersion}
|
/home/admin/config.scripts/cl.install.sh update v${clUpdateVersion}
|
||||||
else
|
else
|
||||||
|
@ -100,7 +99,7 @@ if [ "${mode}" = "reckless" ]; then
|
||||||
echo "# cl.update.sh reckless"
|
echo "# cl.update.sh reckless"
|
||||||
|
|
||||||
# only update if the latest release is different from the installed
|
# only update if the latest release is different from the installed
|
||||||
if [ "v${clInstalledVersion}" = "${clLatestVersion}" ]; then
|
if [ "${clInstalledVersion}" = "${clLatestVersion}" ]; then
|
||||||
# attention to leading 'v'
|
# attention to leading 'v'
|
||||||
echo "# clInstalledVersion = clLatestVersion (${clLatestVersion:1})"
|
echo "# clInstalledVersion = clLatestVersion (${clLatestVersion:1})"
|
||||||
echo "# There is no need to update again."
|
echo "# There is no need to update again."
|
||||||
|
|
Loading…
Add table
Reference in a new issue