Commit e0e29157 authored by Michal Siwek's avatar Michal Siwek

Fix install script archive name for i686

parent 99a99197
......@@ -31,9 +31,11 @@ echo "Downloading ruby..."
case "$architecture" in
"i686")
link='https://dl.dropboxusercontent.com/s/tufbuqcn80ubypx/ruby-2.0.0p247-chromeos-i686.tar.gz?token_hash=AAGu_5wuqZe2eDOkfL5oh4esQ8HAZJIvbMG7GplnQrSa3g&dl=1'
tarname='ruby-2.0.0p247-chromeos-$architecture.tar.gz'
;;
"x86_64")
link='https://dl.dropboxusercontent.com/s/bwb315aluunam6b/ruby-2.0.0-p247-chromeos1-chromeos-x86_86.tar.gz?token_hash=AAGYQhHhEpgAHCKtVVonVlXIJKZOWzq3arNsirxcRJQgLA&dl=1'
tarname='ruby-2.0.0p247-chromeos1-chromeos-$architecture.tar.gz'
;;
esac
......@@ -41,7 +43,7 @@ wget --content-disposition $link
#extract and install ruby
echo "Extracting ruby (this may take a while)..."
tar -xf ruby-2.0.0p247-chromeos1-chromeos-$architecture.tar.gz
tar -xf $tarname
echo "Installing ruby (this may take a while)..."
sudo cp -r ./usr/* /usr
mv ./dlist $CREW_CONFIG_PATH/meta/ruby.directorylist
......
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