Fix install for Debian 11 and older

This commit is contained in:
FusionPBX
2024-01-10 10:10:22 -07:00
committed by GitHub
parent 39beae7c13
commit 1da287d9a3
3 changed files with 13 additions and 4 deletions

View File

@@ -26,6 +26,9 @@ if [ ."$database_repo" = ."system" ]; then
fi
fi
#make sure keyrings directory exits
mkdir /etc/apt/keyrings
#postgres official repository
if [ ."$database_repo" = ."official" ]; then
sh -c 'echo "deb [signed-by=/etc/apt/keyrings/pgdg.gpg] http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'