Skip to content

Commit

Permalink
Merge pull request #37 from Varying-Vagrant-Vagrants/Mte90/fix-tls-ca
Browse files Browse the repository at this point in the history
Remove define of a global var
  • Loading branch information
tomjn committed Oct 31, 2019
2 parents 8e24ff0 + 1ececb8 commit 301fc50
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tls-ca/provision.sh
@@ -1,9 +1,10 @@
#!/usr/bin/env bash

VVV_CONFIG=/vagrant/vvv-config.yml
if [[ -f /vagrant/vvv-custom.yml ]]; then
VVV_CONFIG=/vagrant/vvv-custom.yml
VVV_CONFIG=/vagrant/vvv-custom.yml
if [[ -f /vagrant/config.yml ]]; then
VVV_CONFIG=/vagrant/config.yml
fi

codename=$(lsb_release --codename | cut -f2)
CERTIFICATES_DIR="/srv/certificates"
if [[ $codename == "trusty" ]]; then # VVV 2 uses Ubuntu 14 LTS trusty
Expand Down

0 comments on commit 301fc50

Please sign in to comment.