From 0d775b2d5e55b7c671ab865837f48bc9aad1e3ca Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Thu, 10 Apr 2014 09:40:49 +0200 Subject: [PATCH] ulogd: fixed check to determine what database output plugin can be enabled Of course the variable $tuplepkg needs to be used but besides that the former check was also wrong because there is no "postgres" package in OpenSDE! Thanks to Karasz for spotting the issue! Highly specialized pattern matching still seems to work! ;) --- network/ulogd/ulogd.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/ulogd/ulogd.conf b/network/ulogd/ulogd.conf index 43806b70b..5bc3a16e9 100644 --- a/network/ulogd/ulogd.conf +++ b/network/ulogd/ulogd.conf @@ -24,7 +24,7 @@ for tuple in $tuples; do tuplepkg=${tuple%:*} tupledb=${tuple#*:} - if pkginstalled -f postgres; then + if pkginstalled -f $tuplepkg; then var_append extraconfopt ' ' "--with-$tupledb=$( pkgprefix -r $tuplepkg )" var_append extraconfopt ' ' "--with-$tupledb-inc=$( pkgprefix -r includedir $tuplepkg )" var_append extraconfopt ' ' "--with-$tupledb-lib=$( pkgprefix -r libdir $tuplepkg )"