Hello again.

I finally understood what caused this error. This is subtle and I was not expecting it! In the postinst, I test for the existence of /etc/apache2/conf-available/dokuwiki.conf, and I install it a a link to /etc/dokuwiki/apache.conf only if it does not. The problem is that the test dereferences it if it is a symlink.

My guess is that, with the previous version of the package, which was not adapted to apache2 >= 2.4, you did a symlink /etc/apache2/conf-available/dokuwiki.conf -> /etc/apache2/conf.d/dokuwiki.conf. Since the file /etc/apache2/conf.d/dokuwiki.conf is removed just before the test, it is considered a /not existing/ by the test!

I think I will fix that by adding an additional test: if /etc/apache2/conf-available/dokuwiki.conf exists but is only a symlink, remove it, considering it was added by the user for apache2 >= 2.4 compatibility.

Regards,

--
 ,--.
: /` )   Tanguy Ortolo      <xmpp:tan...@ortolo.eu>
| `-'    Debian Developer   <irc://irc.oftc.net/Tanguy>
 \_

Attachment: signature.asc
Description: Digital signature

Reply via email to