diff --git a/README.md b/README.md index fbe9dce..cf387f5 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ sudo apt update && sudo apt -y install git ```bash sudo apt update && sudo apt upgrade cd ~ -git clone https://github.com/sefinek/UFW-AbuseIPDB-Reporter.git +git clone https://github.com/sefinek/UFW-AbuseIPDB-Reporter.git --recurse-submodules cd UFW-AbuseIPDB-Reporter npm install cp config.default.js config.js diff --git a/install.sh b/install.sh index cd81a9f..9ac4fcf 100644 --- a/install.sh +++ b/install.sh @@ -158,7 +158,7 @@ cd /opt || { echo "❌ Failed to change directory to '/opt'. Exiting..."; exit 1 if [ ! -d "UFW-AbuseIPDB-Reporter" ]; then echo "📥 Cloning the UFW-AbuseIPDB-Reporter repository..." - sudo git clone https://github.com/sefinek/UFW-AbuseIPDB-Reporter.git || { echo "❌ Failed to clone the repository. Exiting..."; exit 1; } + sudo git clone https://github.com/sefinek/UFW-AbuseIPDB-Reporter.git --recurse-submodules || { echo "❌ Failed to clone the repository. Exiting..."; exit 1; } else echo "✨ The UFW-AbuseIPDB-Reporter repository already exists" fi