Turn off certificate checking in wgetrc
This commit is contained in:
parent
3755af9e03
commit
b793eb7591
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue