forked from norman/fusionpbx-install.sh-github-mirror
Few small freebsd fixes (#319)
* Use python 3.7 which is the default. * Fix typo (missing space before closing ]): 00:04:22.942 + [ -f /usr/ports/UPDATING] 00:04:22.942 [: missing ] * GC unneded "cd resource". php.sh is included into resources/ngnix.sh, which does cd resources as the first step by itself.
This commit is contained in:
@@ -14,7 +14,7 @@ pkg upgrade --yes
|
||||
|
||||
#Update the ports
|
||||
if [ .$portsnap_enabled = .'true' ]; then
|
||||
if [ -f /usr/ports/UPDATING]; then
|
||||
if [ -f /usr/ports/UPDATING ]; then
|
||||
portsnap fetch && portsnap update
|
||||
echo "/usr/ports updated"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user