Skip to content

Commit

Permalink
Fix mise installation
Browse files Browse the repository at this point in the history
  • Loading branch information
almirsarajcic committed Sep 18, 2024
1 parent 3db710c commit 8b53f90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion priv/static/Linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ function install() {
mise use -g erlang@$erlang_version
;;
"mise")
curl https://mise.run | sh
echo -e "\n\n" >>$config_file

case $current_shell in
Expand All @@ -88,7 +89,7 @@ function install() {
;;
esac

source $config_file >/dev/null 2>&1
. $config_file >/dev/null 2>&1
;;
"Phoenix")
mise exec -- mix local.hex --force
Expand Down
3 changes: 2 additions & 1 deletion priv/static/macOS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ function install() {
$current_shell -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
;;
"mise")
curl https://mise.run | sh
echo -e "\n\n" >>$config_file

case $current_shell in
Expand All @@ -98,7 +99,7 @@ function install() {
;;
esac

source $config_file >/dev/null 2>&1
. $config_file >/dev/null 2>&1
;;
"Phoenix")
mise exec -- mix local.hex --force
Expand Down

0 comments on commit 8b53f90

Please sign in to comment.