From b268d1da4839c07789772b97d61a3e32b441288f Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 20 May 2017 14:13:37 -0600 Subject: [PATCH] Update install.sh --- freebsd/install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/freebsd/install.sh b/freebsd/install.sh index e61e9bf..2d7b790 100755 --- a/freebsd/install.sh +++ b/freebsd/install.sh @@ -13,7 +13,11 @@ verbose "Update installed packages" pkg upgrade --yes #Update the ports -portsnap fetch extract +if [ -d "/usr/ports/www" ] + portsnap fetch extract +else + portsnap fetch update +fi #PF - Packet Filter resources/pf.sh