diff --git a/Vagrantfile b/Vagrantfile index 92f73cdd..9e1d2c11 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -90,14 +90,15 @@ Vagrant.configure(2) do |config| #allow vagrant user to run docker adduser vagrant docker - #download build of recent mingw-w64 with dwarf2 exceptions enabled - wget -O /root/dxvk_crosscc.tar.xz 'http://repo.steampowered.com/proton_mingw/proton_mingw-9.1-1.tar.xz' - unxz -T0 /root/dxvk_crosscc.tar.xz - mkdir -p /srv/chroot/dxvk_crosscc/ - tar -xf /root/dxvk_crosscc.tar -C /srv/chroot/dxvk_crosscc/ + if ! schroot -i -c dxvk_crosscc >/dev/null 2>&1; then + #download build of recent mingw-w64 with dwarf2 exceptions enabled + wget --progress=dot -O /root/dxvk_crosscc.tar.xz 'http://repo.steampowered.com/proton_mingw/proton_mingw-9.1-1.tar.xz' + unxz -T0 /root/dxvk_crosscc.tar.xz + mkdir -p /srv/chroot/dxvk_crosscc/ + tar -xf /root/dxvk_crosscc.tar -C /srv/chroot/dxvk_crosscc/ - #install dxvk_crosscc schroot - cat > /etc/schroot/chroot.d/dxvk_crosscc < /etc/schroot/chroot.d/dxvk_crosscc <