Commit 8b773b1b authored by PengJingwen's avatar PengJingwen

Add --no-check-certificate for wget in install script

parent 79c0eb45
.DS_Store
......@@ -39,7 +39,7 @@ case "$architecture" in
;;
esac
wget --content-disposition $link
wget --no-check-certificate --content-disposition $link
#extract and install ruby
echo "Extracting ruby (this may take a while)..."
......@@ -50,13 +50,13 @@ mv ./dlist $CREW_CONFIG_PATH/meta/ruby.directorylist
mv ./filelist $CREW_CONFIG_PATH/meta/ruby.filelist
#download, prepare and install chromebrew
wget https://raw.github.com/skycocker/chromebrew/master/crew
wget --no-check-certificate https://raw.github.com/skycocker/chromebrew/master/crew
chmod +x crew
sudo mv crew $CREW_PREFIX/bin
#install crew library
cd $CREW_LIB_PATH
wget https://raw.github.com/skycocker/chromebrew/master/lib/package.rb
wget https://raw.github.com/skycocker/chromebrew/master/lib/package_helpers.rb
wget --no-check-certificate https://raw.github.com/skycocker/chromebrew/master/lib/package.rb
wget --no-check-certificate https://raw.github.com/skycocker/chromebrew/master/lib/package_helpers.rb
#create the device.json file
cd $CREW_CONFIG_PATH
touch device.json
......@@ -72,16 +72,25 @@ echo "}" >> device.json
#download git and its dependencies .rb package files
cd $CREW_PACKAGES_PATH
wget https://raw.github.com/skycocker/chromebrew/master/packages/git.rb
wget https://raw.github.com/skycocker/chromebrew/master/packages/zlib.rb
wget https://raw.github.com/skycocker/chromebrew/master/packages/libssh2.rb
wget https://raw.github.com/skycocker/chromebrew/master/packages/perl.rb
wget https://raw.github.com/skycocker/chromebrew/master/packages/openssl.rb
wget https://raw.github.com/skycocker/chromebrew/master/packages/curl.rb
wget https://raw.github.com/skycocker/chromebrew/master/packages/expat.rb
wget https://raw.github.com/skycocker/chromebrew/master/packages/gettext.rb
wget https://raw.github.com/skycocker/chromebrew/master/packages/python.rb
wget https://raw.github.com/skycocker/chromebrew/master/packages/readline.rb
wget --no-check-certificate https://raw.github.com/skycocker/chromebrew/master/packages/git.rb
wget --no-check-certificate https://raw.github.com/skycocker/chromebrew/master/packages/zlib.rb
wget --no-check-certificate https://raw.github.com/skycocker/chromebrew/master/packages/libssh2.rb
wget --no-check-certificate https://raw.github.com/skycocker/chromebrew/master/packages/perl.rb
wget --no-check-certificate https://raw.github.com/skycocker/chromebrew/master/packages/openssl.rb
wget --no-check-certificate https://raw.github.com/skycocker/chromebrew/master/packages/curl.rb
wget --no-check-certificate https://raw.github.com/skycocker/chromebrew/master/packages/expat.rb
wget --no-check-certificate https://raw.github.com/skycocker/chromebrew/master/packages/gettext.rb
wget --no-check-certificate https://raw.github.com/skycocker/chromebrew/master/packages/python.rb
wget --no-check-certificate https://raw.github.com/skycocker/chromebrew/master/packages/readline.rb
wget --no-check-certificate https://raw.github.com/skycocker/chromebrew/master/packages/ruby.rb
wget --no-check-certificate https://raw.github.com/skycocker/chromebrew/master/packages/buildessential.rb
wget --no-check-certificate https://raw.github.com/skycocker/chromebrew/master/packages/gcc.rb
wget --no-check-certificate https://raw.github.com/skycocker/chromebrew/master/packages/binutils.rb
wget --no-check-certificate https://raw.github.com/skycocker/chromebrew/master/packages/mpc.rb
wget --no-check-certificate https://raw.github.com/skycocker/chromebrew/master/packages/mpfr.rb
wget --no-check-certificate https://raw.github.com/skycocker/chromebrew/master/packages/gmp.rb
wget --no-check-certificate https://raw.github.com/skycocker/chromebrew/master/packages/glibc.rb
wget --no-check-certificate https://raw.github.com/skycocker/chromebrew/master/packages/linuxheaders.rb
#install readline for ruby
(echo y;) | sudo crew install readline
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment