Skip to content

Commit

Permalink
update to bash
Browse files Browse the repository at this point in the history
  • Loading branch information
karlprieb committed Aug 16, 2024
1 parent 8e6c3a2 commit ed5d755
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions installer.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
#!/usr/bin/env bash

print_message() {
echo "$1"
Expand Down Expand Up @@ -183,7 +183,7 @@ if [ "$RESOLVE_ARNS" = "y" ] || [ "$RESOLVE_ARNS" = "Y" ]; then
read -r ARNS_ROOT_HOST
if [ -n "$ARNS_ROOT_HOST" ]; then
update_or_add_env_var "ARNS_ROOT_HOST" "$ARNS_ROOT_HOST"

# Check if the resolver service was selected
if ! echo "$SERVICES_SELECTED" | grep -q "4"; then
print_message "You chose to resolve ArNS names, but the resolver service is not enabled. The resolver service is necessary for this feature."
Expand Down Expand Up @@ -298,4 +298,4 @@ print_message "AR.IO Node Repository: https://github.com/ar-io/ar-io-node"
print_message "AR.IO Node Overview Docs: https://docs.ar.io/gateways/ar-io-node/overview/"

echo ""
print_success "Congratulations for setting up your AR.IO node! Happy syncing! 🎉"
print_success "Congratulations for setting up your AR.IO node! Happy syncing! 🎉"

0 comments on commit ed5d755

Please sign in to comment.