#! /bin/sh # postinst script for lighttpd set -e if [ "$1" = "configure" ]; then if [ ! -r /var/www/index.lighttpd.html ]; then cp /usr/share/lighttpd/index.html /var/www/index.lighttpd.html else if md5sum --check --status /usr/share/lighttpd/index.html.md5 then cp /usr/share/lighttpd/index.html /var/www/index.lighttpd.html fi fi chown www-data:www-data /var/log/lighttpd chmod 0750 /var/log/lighttpd fi #DEBHELPER# exit 0