mirror of
https://github.com/fsquillace/junest.git
synced 2026-07-25 11:53:56 +00:00
Add the --no-check-certificate to wget
This commit is contained in:
parent
62e916c34c
commit
ab161d64e2
1 changed files with 5 additions and 5 deletions
10
lib/core.sh
10
lib/core.sh
|
|
@ -26,7 +26,7 @@ set -e
|
|||
|
||||
################################ IMPORTS #################################
|
||||
# Define the variables for the dependency commands bash, wget, tar, which, awk, grep, xz, file
|
||||
WGET=wget
|
||||
WGET="wget --no-check-certificate"
|
||||
TAR=tar
|
||||
source "$(dirname ${BASH_ARGV[0]})/util.sh"
|
||||
|
||||
|
|
@ -61,7 +61,7 @@ function setup_juju(){
|
|||
info "Downloading JuJu..."
|
||||
builtin cd ${maindir}
|
||||
local imagefile=juju-$(uname -m).tar.gz
|
||||
wget ${JUJU_REPO}/${imagefile}
|
||||
$WGET ${JUJU_REPO}/${imagefile}
|
||||
|
||||
info "Installing JuJu..."
|
||||
mkdir -p ${JUJU_HOME}
|
||||
|
|
@ -134,18 +134,18 @@ function build_image_juju(){
|
|||
mkdir -p ${maindir}/packages/{package-query,yaourt,proot}
|
||||
|
||||
builtin cd ${maindir}/packages/package-query
|
||||
wget https://aur.archlinux.org/packages/pa/package-query/PKGBUILD
|
||||
$WGET https://aur.archlinux.org/packages/pa/package-query/PKGBUILD
|
||||
makepkg -sfc --asroot
|
||||
pacman --noconfirm --root ${maindir}/root -U package-query*.pkg.tar.xz
|
||||
|
||||
builtin cd ${maindir}/packages/yaourt
|
||||
wget https://aur.archlinux.org/packages/ya/yaourt/PKGBUILD
|
||||
$WGET https://aur.archlinux.org/packages/ya/yaourt/PKGBUILD
|
||||
makepkg -sfc --asroot
|
||||
pacman --noconfirm --root ${maindir}/root -U yaourt*.pkg.tar.xz
|
||||
|
||||
info "Compiling and installing proot..."
|
||||
builtin cd ${maindir}/packages/proot
|
||||
wget https://aur.archlinux.org/packages/pr/proot/PKGBUILD
|
||||
$WGET https://aur.archlinux.org/packages/pr/proot/PKGBUILD
|
||||
makepkg -sfc --asroot
|
||||
pacman --noconfirm --root ${maindir}/root -U proot*.pkg.tar.xz
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue