Create install.sh
This commit is contained in:
parent
9a14de7467
commit
143ef67242
|
|
@ -13,10 +13,12 @@ verbose "Update installed packages"
|
||||||
pkg upgrade --yes
|
pkg upgrade --yes
|
||||||
|
|
||||||
#Update the ports
|
#Update the ports
|
||||||
if [ -d "/usr/ports" ]; then
|
if [ -e "/usr/ports" ]; then
|
||||||
portsnap fetch extract
|
echo "/usr/ports exists"
|
||||||
else
|
|
||||||
portsnap fetch update
|
portsnap fetch update
|
||||||
|
else
|
||||||
|
echo "/usr/ports not found";
|
||||||
|
portsnap fetch extract
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#PF - Packet Filter
|
#PF - Packet Filter
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue