vagrant: Update apt before installing

I updated my Vagrant box and destroyed and rebuilt it, and for some reason, it didn’t know about ‘fish’. Updating beforehand fixes it.
This commit is contained in:
Benjamin Sago 2017-09-27 12:36:31 +01:00
parent b85f8f249b
commit 7339b753fb

1
Vagrantfile vendored
View File

@ -20,6 +20,7 @@ Vagrant.configure(2) do |config|
# apt can do. # apt can do.
config.vm.provision :shell, privileged: true, inline: <<-EOF config.vm.provision :shell, privileged: true, inline: <<-EOF
set -xe set -xe
apt-get update
apt-get install -qq -o=Dpkg::Use-Pty=0 -y \ apt-get install -qq -o=Dpkg::Use-Pty=0 -y \
git cmake curl attr libgit2-dev zip \ git cmake curl attr libgit2-dev zip \
fish zsh bash bash-completion fish zsh bash bash-completion