Debian: Use ${dbc_dbserver} instead of ${dbc_dbhost}
The variable where dbconfig-common stores the host name of the database
server is ${dbc_dbserver}. Using ${dbc_dbhost} is incorrect.
This commit is contained in:
parent
0917a2d396
commit
aa258a57ee
1 changed files with 2 additions and 2 deletions
4
debian/libreplan.postinst
vendored
4
debian/libreplan.postinst
vendored
|
|
@ -11,10 +11,10 @@ if [[ $1 = configure && -r /etc/dbconfig-common/libreplan.conf ]]
|
|||
then
|
||||
. /etc/dbconfig-common/libreplan.conf
|
||||
|
||||
if [ -z "${dbc_dbhost}" ] ; then
|
||||
if [ -z "${dbc_dbserver}" ] ; then
|
||||
database_host='localhost'
|
||||
else
|
||||
database_host=${dbc_dbhost}
|
||||
database_host=${dbc_dbserver}
|
||||
fi
|
||||
|
||||
echo "Adding libreplan Tomcat configuration bits"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue