diff --git a/scripts/install.sh b/scripts/install.sh index d64e5ff..75188bc 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -2,6 +2,9 @@ set -e +# Source the utilities file +source "$(dirname "$0")/utils.sh" + # Check for nested n8n-installer directory current_path=$(pwd) if [[ "$current_path" == *"/n8n-installer/n8n-installer" ]]; then @@ -25,9 +28,6 @@ if [[ "$current_path" == *"/n8n-installer/n8n-installer" ]]; then fi fi -# Source the utilities file -source "$(dirname "$0")/utils.sh" - # Get the directory where this script is located (which is the scripts directory) SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"