Package: dokuwiki Version: 0.0.20090214b-3 Severity: normal Tags: patch Dokuwiki's postinst script normally installs a link in the /etc/apache2/conf.d directory to its apache.conf. There is some code to detect the absence of the /etc/apache2 directory and not install the link in that case, but unfortunately there's a bug. The attached patch fixes this.
-- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.30-2-amd64 (SMP w/1 CPU core) Locale: LANG=C, lc_ctype=nl...@euro (charmap=ISO-8859-15) Shell: /bin/sh linked to /bin/bash Versions of packages dokuwiki depends on: ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy ii libphp-simplepie 1.2-1 RSS and Atom feed parsing in PHP ii php-geshi 1.0.8.4-1 Generic Syntax Highlighter ii php5 5.2.11.dfsg.1-2 server-side, HTML-embedded scripti ii ucf 3.0025 Update Configuration File: preserv Versions of packages dokuwiki recommends: ii imagemagick 7:6.5.8.3-1 image manipulation programs pn php4-cli | php5-cli <none> (no description available) dokuwiki suggests no packages. -- debconf information: * dokuwiki/system/accessible: localhost only * dokuwiki/webservers: * dokuwiki/system/documentroot: /wiki dokuwiki/system/localnet: 10.0.0.0/24 * dokuwiki/system/purgepages: false
--- dokuwiki.postinst.orig 2009-07-13 21:00:04.000000000 +0200 +++ dokuwiki.postinst 2010-01-15 22:25:26.000000000 +0100 @@ -76,10 +76,10 @@ { dir="/etc/apache2" - echo "Installing into... [$dir]" >/dev/stderr - # Skip servers with no configuration - [ -d $dir ] || continue + [ -d $dir ] || return 0 + + echo "Installing into... [$dir]" >/dev/stderr # Link the apache configuration file to the server's # conf.d directory