We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1216403 commit 5b6c557Copy full SHA for 5b6c557
scripts/install-thv.sh
@@ -72,5 +72,9 @@ chmod +x /tmp/thv
72
cp /tmp/thv "$INSTALL_DIR/thv"
73
rm -f /tmp/toolhive.tar.gz /tmp/thv
74
75
-echo "ToolHive CLI (thv) installed successfully. Version: $RELEASE_VERSION"
76
-echo "The 'thv' command is now available in your PATH."
+thv version || {
+ echo "Installation failed: 'thv' command is not working."
77
+ exit 1
78
+}
79
+
80
+echo "ToolHive CLI (thv) installed successfully."
0 commit comments