Changes in the installer

This commit is contained in:
Marcin Woźniak 2022-11-08 15:02:14 +01:00
parent 284d8eb007
commit a412b8e775

View File

@ -12,7 +12,6 @@ function command_start() {
timestamp "Command $* has been started." timestamp "Command $* has been started."
if ! "$*"; then if ! "$*"; then
err "Command $* went wrong." err "Command $* went wrong."
exit
fi fi
timestamp "Command $* has been ended." timestamp "Command $* has been ended."
} }
@ -44,7 +43,7 @@ function install_shfmt() {
function install_shellcheck() { function install_shellcheck() {
# Install shellcheck # Install shellcheck
[[ "$(uname)" == "Darwin" ]] && brew install shellcheck [[ "$(uname)" == "Darwin" ]] && brew install shellcheck
emerge shellcheck sudo emerge shellcheck-bin
} }
function install_gopls() { function install_gopls() {
@ -55,11 +54,11 @@ function install_gopls() {
function install_black() { function install_black() {
# Install black # Install black
pip install black --user pip install black --user
pip3 install black --user pip3 install black --user --force
} }
function install_ansible() { function install_ansible() {
pip3 install --pre --user ansible ansible-lint ansible-core pip3 install --pre --user ansible ansible-lint ansible-core --force
} }
function install_ansible-language-server() { function install_ansible-language-server() {