Add --recurse-submodules

This commit is contained in:
Sefinek committed 2025-03-06 14:51:54 +01:00
1 parent 6202654954
commit 293fbfeb94
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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
+1 -1
View File
@@ -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