mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-24 14:01:56 +00:00
Update blocky-install.sh
bug fix
This commit is contained in:
parent
43683fce61
commit
c866343d29
@ -84,7 +84,7 @@ systemctl disable systemd-resolved.service &>/dev/null
|
|||||||
RELEASE=$(curl -s https://api.github.com/repos/0xERR0R/blocky/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
RELEASE=$(curl -s https://api.github.com/repos/0xERR0R/blocky/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||||
wget https://github.com/0xERR0R/blocky/releases/download/v$RELEASE/blocky_${RELEASE}_Linux_x86_64.tar.gz &>/dev/null
|
wget https://github.com/0xERR0R/blocky/releases/download/v$RELEASE/blocky_${RELEASE}_Linux_x86_64.tar.gz &>/dev/null
|
||||||
mkdir -p /opt/blocky
|
mkdir -p /opt/blocky
|
||||||
tar -xf blocky_0.19_Linux_x86_64.tar.gz -C /opt/blocky
|
tar -xf blocky_${RELEASE}_Linux_x86_64.tar.gz -C /opt/blocky
|
||||||
rm -rf blocky_${RELEASE}_Linux_x86_64.tar.gz
|
rm -rf blocky_${RELEASE}_Linux_x86_64.tar.gz
|
||||||
cat <<EOF >/opt/blocky/config.yml
|
cat <<EOF >/opt/blocky/config.yml
|
||||||
upstream:
|
upstream:
|
||||||
|
Loading…
Reference in New Issue
Block a user