forked from norman/fusionpbx-install.sh-github-mirror
Improve portsnap
This commit is contained in:
@@ -14,8 +14,13 @@ pkg upgrade --yes
|
|||||||
|
|
||||||
#Update the ports
|
#Update the ports
|
||||||
if [ .$portsnap_enabled = .'true' ]; then
|
if [ .$portsnap_enabled = .'true' ]; then
|
||||||
portsnap fetch extract
|
if [ -f /usr/ports/UPDATING]; then
|
||||||
echo "/usr/ports added"
|
portsnap fetch && portsnap update
|
||||||
|
echo "/usr/ports updated"
|
||||||
|
else
|
||||||
|
portsnap fetch extract
|
||||||
|
echo "/usr/ports added"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#PF - Packet Filter
|
#PF - Packet Filter
|
||||||
|
|||||||
Reference in New Issue
Block a user