From d4fbb6685c4929ef396bc4d2a78eff0a19ce85e5 Mon Sep 17 00:00:00 2001 From: Chai Feng Date: Sat, 1 Dec 2018 12:08:20 +0800 Subject: [PATCH] create the symbolic link if not exist --- Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 2354d35..19858b3 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -42,7 +42,7 @@ Vagrant.configure('2') do |config| ufw reload - ln -s /vagrant/ufw-docker /usr/local/bin/ + [[ -L /usr/local/bin/ufw-docker ]] || ln -s /vagrant/ufw-docker /usr/local/bin/ } SHELL