@ -14,3 +14,16 @@
# enable xattr support
var_append extraconfopt ' ' '--with-attr'
lighttpd_confd() {
mkdir -p "$root$sysconfdir/conf.d"
cat <<-EOT >> $root$sysconfdir/lighttpd.conf-dist
# Include config snaps
include_shell "cat $sysconfdir/conf.d/*.conf 2> /dev/null"
EOT
}
hook_add postmake 7 'lighttpd_confd'