Move IGNORE_DEPENDS
Needed for PHP and FreeSWITCH as both use postgresql15-client by default
This commit is contained in:
parent
7bb8399729
commit
161cb556f0
|
|
@ -42,16 +42,16 @@ if [ .$nginx_enabled = .'true' ]; then
|
||||||
resources/fusionpbx.sh
|
resources/fusionpbx.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#NGINX web server
|
|
||||||
if [ .$nginx_enabled = .'true' ]; then
|
|
||||||
resources/nginx.sh
|
|
||||||
fi
|
|
||||||
|
|
||||||
#Postgres
|
#Postgres
|
||||||
if [ .$database_enabled = .'true' ]; then
|
if [ .$database_enabled = .'true' ]; then
|
||||||
resources/postgresql.sh
|
resources/postgresql.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#NGINX web server
|
||||||
|
if [ .$nginx_enabled = .'true' ]; then
|
||||||
|
resources/nginx.sh
|
||||||
|
fi
|
||||||
|
|
||||||
#FreeSWITCH
|
#FreeSWITCH
|
||||||
if [ .$switch_enabled = .'true' ]; then
|
if [ .$switch_enabled = .'true' ]; then
|
||||||
resources/switch.sh
|
resources/switch.sh
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ echo "Install PostgreSQL and create the database and users\n"
|
||||||
|
|
||||||
#postgres install
|
#postgres install
|
||||||
if [ ."$database_version" = ."16" ]; then
|
if [ ."$database_version" = ."16" ]; then
|
||||||
|
echo "IGNORE_DEPENDS=postgresql15-client" >> /usr/local/etc/pkg.conf
|
||||||
pkg install --yes postgresql16-server
|
pkg install --yes postgresql16-server
|
||||||
#cd /usr/ports/databases/postgresql16-server/ && make install clean BATCH=yes
|
#cd /usr/ports/databases/postgresql16-server/ && make install clean BATCH=yes
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,6 @@ echo "Installing the FreeSWITCH package"
|
||||||
|
|
||||||
#install the package
|
#install the package
|
||||||
if [ .$switch_source = ."package" ]; then
|
if [ .$switch_source = ."package" ]; then
|
||||||
echo "IGNORE_DEPENDS=postgresql15-client" >> /usr/local/etc/pkg.conf
|
|
||||||
pkg install --yes freeswitch
|
pkg install --yes freeswitch
|
||||||
fi
|
fi
|
||||||
if [ .$switch_source = ."port" ]; then
|
if [ .$switch_source = ."port" ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue