Browse Source

* cleaned openldap/parse-conf by using pkginstalled -f instead of

a hardcoded path


git-svn-id: svn://svn.opensde.net/opensde/package/trunk@20864 10447126-35f2-4685-b0cf-6dd780d3921f
early
Alejandro Mery 18 years ago
parent
commit
dfa840b350
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      network/openldap/parse-config

+ 4
- 1
network/openldap/parse-config

@ -12,7 +12,10 @@
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
if [ -f "$root/var/adm/packages/openldap" ] ; then
if pkginstalled -f openldap; then
# only when openldap is effectively installed
pkgprefix -t openldap
# FIXME! lib64 tweak - should be removed if we have proper symlinks
[[ $libdir == *lib ]] || var_append GCC_WRAPPER_APPEND ' ' "-L$root$( pkgprefix libdir openldap )"

Loading…
Cancel
Save