+ --no-check-certificate
This commit is contained in:
@@ -20,7 +20,7 @@ options_url=https://git.mz.fo/fro/lnx-arch/raw/branch/master/dots/archinstall/${
|
||||
options_trg=/tmp/options.sh
|
||||
rm -rf ${options_trg}
|
||||
rm -rf ${options_trg}.tmp
|
||||
wget -q ${options_url} -O ${options_trg}
|
||||
wget --no-check-certificate -q ${options_url} -O ${options_trg}
|
||||
source ${options_trg}
|
||||
if [ -z "${OPTIONS_LOADED}" ]; then
|
||||
echo "error: unable to load options"
|
||||
@@ -51,7 +51,7 @@ download_repo() {
|
||||
# instead of doing a git clone (like `git clone ${clone_url} ${clone_trg}`),
|
||||
# where i would have emptied the target dir each time, i download the
|
||||
# source as a tar.gz.
|
||||
wget --show-progress ${_targz_url} -O ${clone_trg}/tmp.tar.gz
|
||||
wget --no-check-certificate --show-progress ${_targz_url} -O ${clone_trg}/tmp.tar.gz
|
||||
tar -xzf ${clone_trg}/tmp.tar.gz -C ${clone_trg}
|
||||
rm ${clone_trg}/tmp.tar.gz
|
||||
|
||||
|
||||
Reference in New Issue
Block a user