Skip to content

Commit b8ebac9

Browse files
committed
Run thv version to verify installation
Signed-off-by: Dan Barr <[email protected]>
1 parent 3cc16cd commit b8ebac9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

scripts/install-thv.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,9 @@ chmod +x /tmp/thv
7272
cp /tmp/thv "$INSTALL_DIR/thv"
7373
rm -f /tmp/toolhive.tar.gz /tmp/thv
7474

75-
echo "ToolHive CLI (thv) installed successfully. Version: $RELEASE_VERSION"
76-
echo "The 'thv' command is now available in your PATH."
75+
thv version || {
76+
echo "Installation failed: 'thv' command is not working."
77+
exit 1
78+
}
79+
80+
echo "ToolHive CLI (thv) installed successfully."

0 commit comments

Comments
 (0)