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 14 years ago committed by Christian Wiese
parent
commit
046d63cfe5
  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