On a later thought, this also works: git diff debian/mini-httpd.postinst diff --git a/debian/mini-httpd.postinst b/debian/mini-httpd.postinst index 372bbe0..4a469d1 100644 --- a/debian/mini-httpd.postinst +++ b/debian/mini-httpd.postinst @@ -2,8 +2,10 @@ set -e if [ ! -r /var/www/html/index.html ]; then - mkdir -p /var/www/html - cp /usr/share/doc/mini-httpd/examples/index.html /var/www/html/index.html + if [ -r /usr/share/doc/mini-httpd/examples/index.html ]; then + mkdir -p /var/www/html + cp /usr/share/doc/mini-httpd/examples/index.html /var/www/html/index.html + fi fi #DEBHELPER#
I tested it successfully on Debian Testing slim. However, it will take me some time to add this to the next release and, moreover, for that to make its way from sid -> testing. If urgent action is required, use a local workaround; if not, wait for my upload :) Regards, Alexandru Mihail
signature.asc
Description: This is a digitally signed message part