From 974e2cfc9c95e55b81391d3cef09fcefd357797a Mon Sep 17 00:00:00 2001 From: Victor Irzak Date: Mon, 19 Feb 2024 07:34:16 -0500 Subject: [PATCH 1/2] fix: Use full path to call pwsh, since it is not in the PATH yet --- pwsh/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwsh/install.sh b/pwsh/install.sh index 85e5edb10..5d421e10c 100644 --- a/pwsh/install.sh +++ b/pwsh/install.sh @@ -46,7 +46,7 @@ __init_pwsh() { pkg_done_message() { echo "Installed 'pwsh' at $pkg_dst" - pwsh -V + "$pkg_dst_cmd" -V } } From 7b70ab85380727919ae43b986a37a90cf832572c Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 16 May 2024 21:09:30 +0000 Subject: [PATCH 2/2] ref(pwsh): cleanup and comment 'pkg_done_message' --- pwsh/install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pwsh/install.sh b/pwsh/install.sh index 5d421e10c..e0e44bced 100644 --- a/pwsh/install.sh +++ b/pwsh/install.sh @@ -45,7 +45,9 @@ __init_pwsh() { } pkg_done_message() { - echo "Installed 'pwsh' at $pkg_dst" + # We print the version here to ensure the install completed without + # errors - no missing libraries, not incompatible arch, etc + echo "" "$pkg_dst_cmd" -V } }