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 2ad5d92 commit 9d6bb96Copy full SHA for 9d6bb96
scripts/install-thv.sh
@@ -67,5 +67,9 @@ chmod +x /tmp/thv
67
cp /tmp/thv "$INSTALL_DIR/thv"
68
rm -f /tmp/toolhive.tar.gz /tmp/thv
69
70
-echo "ToolHive CLI (thv) installed successfully. Version: $RELEASE_VERSION"
71
-echo "The 'thv' command is now available in your PATH."
+thv version || {
+ echo "Installation failed: 'thv' command is not working."
72
+ exit 1
73
+}
74
+
75
+echo "ToolHive CLI (thv) installed successfully."
0 commit comments