Browse Source

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

user/amery/next/luajit
Christian Wiese 13 years ago
committed by Christian Wiese
parent
commit
046d63cfe5
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      filesystem/autofs/autofs.conf

+ 4
- 0
filesystem/autofs/autofs.conf

@ -24,3 +24,7 @@ hook_add prepatch 5 'pkg_autofs_prepatch'
if pkginstalled openldap; then if pkginstalled openldap; then
var_append GCC_WRAPPER_APPEND ' ' "-I$root$( pkgprefix includedir openldap )" var_append GCC_WRAPPER_APPEND ' ' "-I$root$( pkgprefix includedir openldap )"
fi 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