Move IGNORE_DEPENDS

Needed for PHP and FreeSWITCH as both use postgresql15-client by default
This commit is contained in:
FusionPBX 2024-08-24 12:17:11 -06:00 committed by GitHub
parent 7bb8399729
commit 161cb556f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View File

@ -42,16 +42,16 @@ if [ .$nginx_enabled = .'true' ]; then
resources/fusionpbx.sh
fi
#NGINX web server
if [ .$nginx_enabled = .'true' ]; then
resources/nginx.sh
fi
#Postgres
if [ .$database_enabled = .'true' ]; then
resources/postgresql.sh
fi
#NGINX web server
if [ .$nginx_enabled = .'true' ]; then
resources/nginx.sh
fi
#FreeSWITCH
if [ .$switch_enabled = .'true' ]; then
resources/switch.sh

View File

@ -25,6 +25,7 @@ echo "Install PostgreSQL and create the database and users\n"
#postgres install
if [ ."$database_version" = ."16" ]; then
echo "IGNORE_DEPENDS=postgresql15-client" >> /usr/local/etc/pkg.conf
pkg install --yes postgresql16-server
#cd /usr/ports/databases/postgresql16-server/ && make install clean BATCH=yes
fi

View File

@ -17,7 +17,6 @@ echo "Installing the FreeSWITCH package"
#install the package
if [ .$switch_source = ."package" ]; then
echo "IGNORE_DEPENDS=postgresql15-client" >> /usr/local/etc/pkg.conf
pkg install --yes freeswitch
fi
if [ .$switch_source = ."port" ]; then