Compare commits

..

No commits in common. "19f08297e66994def88174a4e16fe0b048b59d7b" and "ed6443bc84a7279847cd0906e09c8fe78a7948ee" have entirely different histories.

9 changed files with 17 additions and 18 deletions

View File

@ -23,7 +23,7 @@ var_disk="2"
var_cpu="1"
var_ram="512"
var_os="debian"
var_version="12"
var_version="11"
variables
color
catch_errors

View File

@ -23,7 +23,7 @@ var_disk="8"
var_cpu="2"
var_ram="2048"
var_os="debian"
var_version="12"
var_version="11"
variables
color
catch_errors

View File

@ -23,7 +23,7 @@ var_disk="8"
var_cpu="1"
var_ram="512"
var_os="debian"
var_version="12"
var_version="11"
variables
color
catch_errors

View File

@ -27,7 +27,7 @@ var_disk="16"
var_cpu="2"
var_ram="2048"
var_os="debian"
var_version="12"
var_version="11"
variables
color
catch_errors

View File

@ -23,7 +23,7 @@ var_disk="4"
var_cpu="2"
var_ram="2048"
var_os="debian"
var_version="12"
var_version="11"
variables
color
catch_errors

View File

@ -23,7 +23,7 @@ var_disk="4"
var_cpu="1"
var_ram="2048"
var_os="debian"
var_version="12"
var_version="11"
variables
color
catch_errors

View File

@ -23,7 +23,7 @@ var_disk="2"
var_cpu="1"
var_ram="512"
var_os="debian"
var_version="12"
var_version="11"
variables
color
catch_errors

View File

@ -20,13 +20,13 @@ $STD apt-get install -y mc
msg_ok "Installed Dependencies"
msg_info "Installing Blocky"
if systemctl is-active systemd-resolved > /dev/null 2>&1; then
systemctl disable -q --now systemd-resolved
fi
mkdir /opt/blocky
RELEASE=$(curl -s https://api.github.com/repos/0xERR0R/blocky/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
wget -qO- https://github.com/0xERR0R/blocky/releases/download/v${RELEASE}/blocky_v${RELEASE}_Linux_x86_64.tar.gz | tar -xzf - -C /opt/blocky/
systemctl stop systemd-resolved
$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) }')
wget -q https://github.com/0xERR0R/blocky/releases/download/v$RELEASE/blocky_${RELEASE}_Linux_x86_64.tar.gz
mkdir -p /opt/blocky
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
upstream:
# these external DNS resolvers will be used. Blocky picks 2 random resolvers from the list for each query

View File

@ -19,10 +19,9 @@ $STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y par2
$STD apt-get install -y p7zip-full
RELEASE=$(curl -s http://http.us.debian.org/debian/pool/non-free/u/unrar-nonfree/ | grep -oP 'href="\K[^"]*unrar_7\.\d+\.\d+-\d+_amd64\.deb')
wget -q http://http.us.debian.org/debian/pool/non-free/u/unrar-nonfree/$RELEASE
$STD dpkg -i unrar*.deb
rm unrar*.deb
wget -q http://http.us.debian.org/debian/pool/non-free/u/unrar-nonfree/unrar_7.0.2-1_amd64.deb
$STD dpkg -i unrar_7.0.2-1_amd64.deb
rm unrar_7.0.2-1_amd64.deb
msg_ok "Installed Dependencies"
msg_info "Updating Python3"