Skip to content

Commit

Permalink
Try again
Browse files Browse the repository at this point in the history
  • Loading branch information
almirsarajcic committed Sep 17, 2024
1 parent 40f6e5e commit 2c1bf03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions priv/static/Linux.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

# Make sure important variables exist if not already defined
#
Expand Down Expand Up @@ -26,7 +26,6 @@ erlang_version=27.0.1
phoenix_version=1.7.14
postgres_version=15.1

echo "Debug: SHELL is $SHELL"
current_shell=$(basename "$SHELL")

case $current_shell in
Expand All @@ -45,8 +44,6 @@ case $current_shell in
;;
esac

echo "Debug: config_file is $config_file"

function already_installed() {
case $1 in
"Git")
Expand Down
4 changes: 2 additions & 2 deletions priv/static/macOS.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

# Make sure important variables exist if not already defined
#
Expand Down Expand Up @@ -26,7 +26,7 @@ erlang_version=27.0.1
phoenix_version=1.7.14
postgres_version=15.1

current_shell=$(echo $SHELL | awk -F '/' '{print $NF}')
current_shell=$(basename "$SHELL")

case $current_shell in
"bash" | "rbash")
Expand Down

0 comments on commit 2c1bf03

Please sign in to comment.