File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- #! /bin/sh
2- set -euo pipefail
1+ #! /usr/ bin/env bash
2+ set -eu pipefail
33
44# Determine OS type and architecture
55OS=$( uname -s | tr ' [:upper:]' ' [:lower:]' )
3636# Check if docs-builder already exists, but handle non-interactive shells
3737if [ -f " $INSTALL_DIR /docs-builder" ]; then
3838 echo " docs-builder is already installed."
39-
39+
4040 # Check if script is running interactively (has a TTY)
4141 if [ -t 0 ]; then
4242 # Running interactively, can prompt for input
8888rm -f " $BINARY "
8989
9090echo " docs-builder has been installed successfully and is available in your PATH."
91- echo " You can run 'docs-builder --help' to see available commands."
91+ echo " You can run 'docs-builder --help' to see available commands."
You can’t perform that action at this time.
0 commit comments