From f9bf4ab284f6f7c4b10f8e8a7092ea5269c002cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Almir=20Saraj=C4=8Di=C4=87?= Date: Thu, 19 Sep 2024 01:14:08 +0200 Subject: [PATCH] Avoid unnecessary questions --- priv/static/Linux.sh | 6 +++--- priv/static/macOS.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/priv/static/Linux.sh b/priv/static/Linux.sh index 13496fdb..94bf71b4 100755 --- a/priv/static/Linux.sh +++ b/priv/static/Linux.sh @@ -70,13 +70,13 @@ already_installed() { install() { case "$1" in "Elixir") - mise use -g elixir@$elixir_version + mise use -g -y elixir@$elixir_version ;; "Erlang") if [ ! -f ~/.kerlrc ]; then printf "KERL_CONFIGURE_OPTIONS=\"--without-javac\"\n" >~/.kerlrc fi - mise use -g erlang@$erlang_version + mise use -g -y erlang@$erlang_version ;; "mise") curl https://mise.run | sh @@ -100,7 +100,7 @@ install() { "PostgreSQL") sudo apt-get update sudo apt-get -y install linux-headers-generic build-essential libssl-dev libreadline-dev zlib1g-dev libcurl4-openssl-dev uuid-dev icu-devtools - mise use -g postgres@$postgres_version + mise use -g -y postgres@$postgres_version ;; *) printf "Invalid name argument on install: %s\n" "$1" diff --git a/priv/static/macOS.sh b/priv/static/macOS.sh index 1f9dd45e..2c849299 100755 --- a/priv/static/macOS.sh +++ b/priv/static/macOS.sh @@ -76,14 +76,14 @@ already_installed() { install() { case "$1" in "Elixir") - mise use -g elixir@$elixir_version + mise use -g -y elixir@$elixir_version ;; "Erlang") brew install autoconf openssl@1.1 wxwidgets libxslt fop if [ ! -f ~/.kerlrc ]; then printf "KERL_CONFIGURE_OPTIONS=\"--with-ssl=$(brew --prefix openssl@1.1) --without-javac\"\n" >~/.kerlrc fi - mise use -g erlang@$erlang_version + mise use -g -y erlang@$erlang_version ;; "mise") curl https://mise.run | sh @@ -106,7 +106,7 @@ install() { ;; "PostgreSQL") brew install gcc readline zlib curl ossp-uuid - mise use -g postgres@$postgres_version + mise use -g -y postgres@$postgres_version ;; "Xcode Command Line Tools") xcode-select --install