From 52f12d89727be2296b98d5ca674b693164765016 Mon Sep 17 00:00:00 2001 From: sh-v <124066783+sh-vp@users.noreply.github.com> Date: Thu, 8 Feb 2024 02:46:47 +0330 Subject: [PATCH] Update install.sh --- install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 2668803..365a6af 100644 --- a/install.sh +++ b/install.sh @@ -32,13 +32,14 @@ echo "The OS release is: $release" ;; esac + +mkdir /usr/local/ir-waf +wget --no-check-certificate -O /usr/local/ir-waf/ir_rules.zip https://github.com/sh-vp/Ir-acc-WAF/releases/latest/download/ir_rules.zip rm /usr/local/ir-waf/ir-waf.sh -rf rm /usr/local/ir-waf/update.sh -rf rm /usr/local/ir-waf/iran.txt -rf rm /usr/local/ir-waf/cloudflare.txt -rf rm /usr/bin/ir-waf -rf -mkdir /usr/local/ir-waf -wget --no-check-certificate -O /usr/local/ir-waf/ir_rules.zip https://github.com/sh-vp/Ir-acc-WAF/releases/latest/download/ir_rules.zip if [[ ! -f "/usr/local/ir-waf/conf.txt" ]]; then unzip -o /usr/local/ir-waf/ir_rules.zip -d /usr/local/ir-waf else