~sirn/fanboi2

0d6ce0b2bbb3c3c75e40ffc7a053abe085133ae2 — Kridsada Thanabulpong 4 years ago 0e0b2a9
Use strip to extract Yarn.
1 files changed, 2 insertions(+), 3 deletions(-)

M Vagrantfile
M Vagrantfile => Vagrantfile +2 -3
@@ 40,9 40,8 @@ Vagrant.configure("2") do |config|
  config.vm.provision :shell, :privileged => false, :inline => <<-EOF
    virtualenv -p python3.5 $HOME/python3.5

    cd $HOME
    curl -sL https://yarnpkg.com/latest.tar.gz | tar xvfz -
    mv dist yarn
    mkdir $HOME/yarn
    curl -sL https://yarnpkg.com/latest.tar.gz | tar -xvzf - -C $HOME/yarn --strip 1

    echo 'EDITOR=vi; export EDITOR' > $HOME/.profile
    echo 'PAGER=more; export PAGER' >> $HOME/.profile