Update install.sh

This commit is contained in:
Sefinek committed 2024-12-25 19:06:04 +01:00
1 parent 69865957cb
commit b84737569f
1 file changed
+2 -2
+2 -2
View File
@@ -109,13 +109,13 @@ case $answer in
esac esac
# Clone repository # Clone repository
cd ~ || exit cd ~ || return
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..."
git clone https://github.com/sefinek/UFW-AbuseIPDB-Reporter.git --branch node.js git clone https://github.com/sefinek/UFW-AbuseIPDB-Reporter.git --branch node.js
else else
echo "📂 The UFW-AbuseIPDB-Reporter repository already exists. Pulling latest changes..." echo "📂 The UFW-AbuseIPDB-Reporter repository already exists. Pulling latest changes..."
cd ~/UFW-AbuseIPDB-Reporter || exit cd UFW-AbuseIPDB-Reporter || return
git pull git pull
fi fi