From 293fbfeb94ec45fd989d68fa705e44df2d7a5741 Mon Sep 17 00:00:00 2001 From: Sefinek Date: Thu, 6 Mar 2025 14:51:54 +0100 Subject: [PATCH] Add --recurse-submodules --- README.md | 2 +- install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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