Add --recurse-submodules
This commit is contained in:
1 parent
6202654954
commit
293fbfeb94
2 files changed
+2
-2
No files matched your search
@@ -62,7 +62,7 @@ sudo apt update && sudo apt -y install git
|
|||||||
```bash
|
```bash
|
||||||
sudo apt update && sudo apt upgrade
|
sudo apt update && sudo apt upgrade
|
||||||
cd ~
|
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
|
cd UFW-AbuseIPDB-Reporter
|
||||||
npm install
|
npm install
|
||||||
cp config.default.js config.js
|
cp config.default.js config.js
|
||||||
|
|||||||
+1
-1
@@ -158,7 +158,7 @@ cd /opt || { echo "❌ Failed to change directory to '/opt'. Exiting..."; exit 1
|
|||||||
|
|
||||||
if [ ! -d "UFW-AbuseIPDB-Reporter" ]; then
|
if [ ! -d "UFW-AbuseIPDB-Reporter" ]; then
|
||||||
echo "📥 Cloning the UFW-AbuseIPDB-Reporter repository..."
|
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
|
else
|
||||||
echo "✨ The UFW-AbuseIPDB-Reporter repository already exists"
|
echo "✨ The UFW-AbuseIPDB-Reporter repository already exists"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user