From f1631f9d7ef8e9cf965e4b8aeb5c4b641878576e Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 24 Aug 2024 10:32:41 -0600 Subject: [PATCH] Update portsnap --- freebsd/install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/freebsd/install.sh b/freebsd/install.sh index 7e75528..0aeb4db 100755 --- a/freebsd/install.sh +++ b/freebsd/install.sh @@ -15,10 +15,13 @@ pkg upgrade --yes #Update the ports if [ .$portsnap_enabled = .'true' ]; then if [ -f /usr/ports/UPDATING ]; then - portsnap fetch && portsnap update + portsnap fetch update echo "/usr/ports updated" else pkg install --yes portsnap + mkdir -p /var/db/portsnap + chmod 755 /var/db/portsnap + chown root:wheel /var/db/portsnap portsnap fetch extract echo "/usr/ports added" fi