Package: dokuwiki
Version: 0.0.20050922-4
Severity: normal
Hi,
If the file /etc/apache2/httpd.conf is empty (or contains only the
dokuwiki include line), the following line in
the postrm script makes the script fail:
# Remove the Include directive
grep -v '^Include /etc/dokuwiki/apache.conf$' /etc/$srv/httpd.conf > $tfile
Since grep doesn't output any lines, it exits with an error. Since the
script is running with the -e option, this makes the whole script
fail.
To fix it, simply add " || true" to the end of the line.
Andreas
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (150, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.14.4-squashfs-toshiba
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Versions of packages dokuwiki depends on:
ii debconf [debconf-2.0] 1.4.30.13 Debian configuration management sy
ii php4 4:4.3.10-16 server-side, HTML-embedded scripti
ii ucf 1.17 Update Configuration File: preserv
-- debconf information excluded
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]