Package: htdig
Version: 3.1.6-11.1
Severity: normal
Tags: patch

Hi,

thanks for maintaining this package.

I just noticed, that /var/www/search.html isn't deleted when purging the
package, though it is installed when in postrm script.

Here is a little patch, that will delete /var/www/search.html on package
purging:

--- debian/postrm.orig  2006-01-17 01:56:09.000000000 +0100
+++ debian/postrm       2006-01-17 01:48:03.000000000 +0100
@@ -22,6 +22,9 @@
                        if [ -f /etc/cron.weekly/htdig ]; then
                                rm -f /etc/cron.weekly/htdig
                        fi
+                       if [ -f /var/www/search.html ]; then
+                               rm -f /var/www/search.html
+                       fi
                fi
        fi
 fi


It may not be the wisest thing to do it as shown in the patch, since 
search.html may as well be a normal file which a user created.

Cheers,
        Stefan.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-11-k7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to