Browse Source

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! ;)
stable/0.6
Christian Wiese 11 years ago
parent
commit
0d775b2d5e
  1. 2
      network/ulogd/ulogd.conf

2
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 )"

Loading…
Cancel
Save