Przeglądaj źródła

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.
Benjamin Sago 8 lat temu
rodzic
commit
7339b753fb
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      Vagrantfile

+ 1 - 0
Vagrantfile

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