Browse Source

Update blocky-install.sh

tteckster 2 years ago
parent
commit
ec321b76d9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      install/blocky-install.sh

+ 2 - 2
install/blocky-install.sh

@@ -25,8 +25,8 @@ $STD systemctl disable systemd-resolved.service
 RELEASE=0.20 #$(curl -s https://api.github.com/repos/0xERR0R/blocky/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
 RELEASE=0.20 #$(curl -s https://api.github.com/repos/0xERR0R/blocky/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
 wget -q https://github.com/0xERR0R/blocky/releases/download/v$RELEASE/blocky_${RELEASE}_Linux_x86_64.tar.gz
 wget -q https://github.com/0xERR0R/blocky/releases/download/v$RELEASE/blocky_${RELEASE}_Linux_x86_64.tar.gz
 mkdir -p /opt/blocky
 mkdir -p /opt/blocky
-tar -xf blocky_v${RELEASE}_Linux_x86_64.tar.gz -C /opt/blocky
-rm -rf blocky_v${RELEASE}_Linux_x86_64.tar.gz
+tar -xf blocky_${RELEASE}_Linux_x86_64.tar.gz -C /opt/blocky
+rm -rf blocky_${RELEASE}_Linux_x86_64.tar.gz
 cat <<EOF >/opt/blocky/config.yml
 cat <<EOF >/opt/blocky/config.yml
 upstream:
 upstream:
   # these external DNS resolvers will be used. Blocky picks 2 random resolvers from the list for each query
   # these external DNS resolvers will be used. Blocky picks 2 random resolvers from the list for each query