Browse Source

autofs: changed to set sysconfdir to '/etc/autofs' in the case it was auto-configured to '/etc'

stable/0.2
Christian Wiese 14 years ago committed by Christian Wiese
parent
commit
71c78c1966
  1. 4
      filesystem/autofs/autofs.conf

4
filesystem/autofs/autofs.conf

@ -24,3 +24,7 @@ hook_add prepatch 5 'pkg_autofs_prepatch'
if pkginstalled openldap; then
var_append GCC_WRAPPER_APPEND ' ' "-I$root$( pkgprefix includedir openldap )"
fi
# set sysconfdir to '/etc/autofs' in the case it was auto-configured to '/etc'
[ "$sysconfdir" = "$root/etc" ] && \
sysconfdir=$root/etc/autofs

Loading…
Cancel
Save