From b793eb75913a937d8e110f6afa96b7ee8e806e48 Mon Sep 17 00:00:00 2001 From: zontreck Date: Sun, 29 Jun 2025 11:11:51 -0700 Subject: [PATCH] Turn off certificate checking in wgetrc --- DebianBase/Dockerfile | 1 + LinuxGeneralCompiler/dlvs.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/DebianBase/Dockerfile b/DebianBase/Dockerfile index 09fc5f1..04eba1d 100644 --- a/DebianBase/Dockerfile +++ b/DebianBase/Dockerfile @@ -13,6 +13,7 @@ ENV DEBIAN_FRONTEND=noninteractive RUN echo "LC_ALL=en_US.UTF-8" >> /etc/environment RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen RUN echo "LANG=en_US.UTF-8" >> /etc/locale.conf +RUN echo "check-certificate = off" >> ~/.wgetrc RUN apt update; apt-get upgrade -y diff --git a/LinuxGeneralCompiler/dlvs.sh b/LinuxGeneralCompiler/dlvs.sh index 05905c8..19abc11 100644 --- a/LinuxGeneralCompiler/dlvs.sh +++ b/LinuxGeneralCompiler/dlvs.sh @@ -4,7 +4,7 @@ download_game() { local version=$1 local url - local extract_path="/vintagestory_${version}" + local extract_path="~/.local/share/vintagestory_${version}" # Check if version contains a "-" if [[ $version == *"-"* ]]; then