raspiblitz / raspiblitz

Get your own Bitcoin & Lightning Node running - on a RaspberryPi with a nice LCD
MIT License
2.43k stars 519 forks source link

[Scripts/API] Correctly use installed/configured #4650

Open rootzoll opened 1 month ago

rootzoll commented 1 month ago

See https://github.com/raspiblitz/raspiblitz/issues/4649#issuecomment-2241295258 .. with v1.12.0 we should correct all fatpack scripts to correctly show installed and configured status and the API then need to adapt to that change for the new version.

fusion44 commented 1 month ago

Ok, as I see it right now:

fusion44 commented 1 month ago

Okay sorry. Now that I understand the problem better it is an API problem. I always mistook installed as on. The distinction makes sense in a RaspiBlitz context.

I'll fix it properly. Longer term, maybe we can rename the installed var to something like binary_exists or binary_installed to make it more clear for other new contributors.