mirror of
https://github.com/j3ssie/osmedeus.git
synced 2026-09-30 21:44:57 +02:00
Small fix on install scripts
This commit is contained in:
+1
-1
@@ -9,4 +9,4 @@ community_bridge: # Replace with a single Community Bridge project-name e.g., cl
|
||||
liberapay: # Replace with a single Liberapay username
|
||||
issuehunt: # Replace with a single IssueHunt username
|
||||
otechie: # Replace with a single Otechie username
|
||||
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
|
||||
custom: ['https://paypal.me/j3ssiejjj']
|
||||
|
||||
+2
-2
@@ -140,12 +140,12 @@ source $DEFAULT_SHELL
|
||||
|
||||
# update golang version
|
||||
install_banner "Install Golang latest version"
|
||||
curl -sL https://raw.githubusercontent.com/kerolloz/go-installer/master/go.sh | bash 2>/dev/null
|
||||
wget -q -O - https://raw.githubusercontent.com/canha/golang-tools-install-script/master/goinstall.sh | bash 2>&1 >/dev/null
|
||||
GO_BIN="$HOME/.go/bin/go"
|
||||
# in case the script fail
|
||||
[[ -f $GO_BIN ]] || GO_BIN=$(which go)
|
||||
echo -e "\033[1;32m[+] Detected go binary: $GO_BIN \033[0m"
|
||||
[[ -d $GO_DIR ]] || GO_BIN=$GOPATH/bin
|
||||
[[ -d $GO_DIR ]] || GO_DIR=$GOPATH/bin
|
||||
echo -e "\033[1;32m[+] Detected go tools: $GO_DIR \033[0m"
|
||||
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user