update deploy.sh
This commit is contained in:
@@ -74,6 +74,14 @@ check_root() {
|
||||
check_dependencies() {
|
||||
log_info "Checking dependencies..."
|
||||
|
||||
# Add common Go install locations to PATH
|
||||
if [[ -d /usr/local/go/bin ]]; then
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
fi
|
||||
if [[ -d /opt/go/bin ]]; then
|
||||
export PATH=$PATH:/opt/go/bin
|
||||
fi
|
||||
|
||||
local missing=()
|
||||
|
||||
command -v git >/dev/null 2>&1 || missing+=("git")
|
||||
|
||||
Reference in New Issue
Block a user