~martijnbraam/almobootstrap

40fc6f4fd4f0c9b5c112df12b5562f036f17f4fb — Newbyte 9 months ago 071dc99
pmb: Remind users to ensure pmbootstrap is updated before reporting errors

Reviewed-by: Oliver Smith <ollieparanoid@postmarketos.org>
Co-developed-by: Oliver Smith <ollieparanoid@postmarketos.org>
Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230521070148.8311-1-newbyte@postmarketos.org%3E
1 files changed, 7 insertions(+), 0 deletions(-)

M pmb/__init__.py
M pmb/__init__.py => pmb/__init__.py +7 -0
@@ 89,7 89,14 @@ def main():
            log_hint += (" Alternatively you can use '--details-to-stdout' to"
                         " get more output, e.g. 'pmbootstrap"
                         " --details-to-stdout init'.")
        print()
        print(log_hint)
        print()
        print("Before you report this error, ensure that pmbootstrap is "
              "up to date.")
        print("Find the latest version here:"
              " https://git.sr.ht/~postmarketos/pmbootstrap/refs")
        print(f"Your version: {__version__}")
        return 1