From 13cd01ca3625e65280cf6a8c7d0c10ee0d2be855 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 24 Mar 2023 07:25:38 -1000 Subject: [PATCH] ;install: also list installed cabal, stack, pip versions --- hledger-install/hledger-install.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/hledger-install/hledger-install.sh b/hledger-install/hledger-install.sh index 323517b9d..51d33e17a 100755 --- a/hledger-install/hledger-install.sh +++ b/hledger-install/hledger-install.sh @@ -29,6 +29,13 @@ hledger-interest \ hledger-iadd \ " +# Additional install-related tools to be listed +INSTALL_TOOLS="\ +stack \ +cabal \ +pip \ +" + # Package versions to be installed by this install script. # Keep synced with the tools above. # When changing remember to also bump HLEDGER_INSTALL_VERSION. @@ -865,7 +872,7 @@ print_cmd_version() { # Show the current installation status of the hledger packages. print_installed_versions() { - for cmd in $HLEDGER_TOOLS ; do print_cmd_version "$cmd"; done + for cmd in $INSTALL_TOOLS $HLEDGER_TOOLS ; do print_cmd_version "$cmd"; done } # Run a command, but first log it with "Trying" prepended.