fix: silence apt-get update with -qq flag
This commit is contained in:
@ -29,7 +29,7 @@ install_go_and_compile_auth() {
|
|||||||
info "Checking for Go and compiling authentication binary..."
|
info "Checking for Go and compiling authentication binary..."
|
||||||
if ! command -v go &>/dev/null; then
|
if ! command -v go &>/dev/null; then
|
||||||
warn "Go is not installed. Attempting to install..."
|
warn "Go is not installed. Attempting to install..."
|
||||||
apt-get update -y >/dev/null
|
apt-get update -qq >/dev/null
|
||||||
apt-get install -y golang-go >/dev/null
|
apt-get install -y golang-go >/dev/null
|
||||||
success "Go installed successfully."
|
success "Go installed successfully."
|
||||||
else
|
else
|
||||||
@ -187,4 +187,4 @@ fi
|
|||||||
# ========== Launch Menu ==========
|
# ========== Launch Menu ==========
|
||||||
sleep 10
|
sleep 10
|
||||||
chmod +x menu.sh
|
chmod +x menu.sh
|
||||||
./menu.sh
|
./menu.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user