Skip to content

Commit 51c0dab

Browse files
committed
update to bash
1 parent 8e6c3a2 commit 51c0dab

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

installer.sh

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
#!/usr/bin/env sh
1+
#!/usr/bin/env bash
2+
3+
if [ -z "$PS1" ]; then
4+
exec bash -i "$0" "$@"
5+
fi
6+
27

38
print_message() {
49
echo "$1"
@@ -183,7 +188,7 @@ if [ "$RESOLVE_ARNS" = "y" ] || [ "$RESOLVE_ARNS" = "Y" ]; then
183188
read -r ARNS_ROOT_HOST
184189
if [ -n "$ARNS_ROOT_HOST" ]; then
185190
update_or_add_env_var "ARNS_ROOT_HOST" "$ARNS_ROOT_HOST"
186-
191+
187192
# Check if the resolver service was selected
188193
if ! echo "$SERVICES_SELECTED" | grep -q "4"; then
189194
print_message "You chose to resolve ArNS names, but the resolver service is not enabled. The resolver service is necessary for this feature."
@@ -298,4 +303,4 @@ print_message "AR.IO Node Repository: https://github.com/ar-io/ar-io-node"
298303
print_message "AR.IO Node Overview Docs: https://docs.ar.io/gateways/ar-io-node/overview/"
299304

300305
echo ""
301-
print_success "Congratulations for setting up your AR.IO node! Happy syncing! 🎉"
306+
print_success "Congratulations for setting up your AR.IO node! Happy syncing! 🎉"

0 commit comments

Comments
 (0)