[Pkg-nagios-changes] [SCM] Debian packaging of icinga-web branch, master, updated. debian/1.9.0+dfsg1-1-8-g4d8b05d
Markus Frosch
markus at lazyfrosch.de
Mon Jun 24 09:55:18 UTC 2013
The following commit has been merged in the master branch:
commit 4e596898aaf5ffe74da6bd6d99d339bf139578bf
Author: Markus Frosch <markus at lazyfrosch.de>
Date: Mon Jun 24 10:18:19 2013 +0200
Fix usage of wrong dbc_dbserver variable in postinst
diff --git a/debian/icinga-web.postinst b/debian/icinga-web.postinst
index 105b65a..3c3d749 100644
--- a/debian/icinga-web.postinst
+++ b/debian/icinga-web.postinst
@@ -45,11 +45,11 @@ generate_dbxml() {
dbc_edbname=$(uriescape $dbc_dbname)
# allow pgsql socket
- [ "$dbc_server" = "" ] && [ "$dbc_authmethod_user" = "ident" ] && dbc_server="%2Fvar%2Frun%2Fpostgresql"
+ [ "$dbc_dbserver" = "" ] && [ "$dbc_authmethod_user" = "ident" ] && dbc_dbserver="%2Fvar%2Frun%2Fpostgresql"
# uri escape the vars
# build the dsn
- local dsn="$dbc_dbtype://$dbc_edbuser:$dbc_edbpass@${dbc_server:=localhost}$dbc_dbport/$dbc_edbname"
+ local dsn="$dbc_dbtype://$dbc_edbuser:$dbc_edbpass@${dbc_dbserver:=localhost}$dbc_dbport/$dbc_edbname"
# write xml to temp
cat $template | sed "s|_DBDSN_|$dsn|" > $tempfile
--
Debian packaging of icinga-web
More information about the Pkg-nagios-changes
mailing list