severity 404666 important tags 404666 patch thanks Hilmar Preusse <[EMAIL PROTECTED]> wrote:
> Package: dwww > Version: 1.10.0 > Severity: normal > > Hi, > > The prerm script contains the following code: > > if [ -L "$cfile" ] && [ x`realpath "$cfile"` = x"$dwwwf" ]; then > rm -f "$cfile" > elif [ -e "$cfile" ]; then Thanks for reporting. I noticed that this causes the web server to believe dwww is still installed when it isn't. I think this is important. The patch is simple: diff --exclude=es.po -Nur dwww-1.10.0.old/debian/dwww.prerm dwww-1.10.0/debian/dwww.prerm --- dwww-1.10.0.old/debian/dwww.prerm 2006-06-04 16:55:26.000000000 +0200 +++ dwww-1.10.0/debian/dwww.prerm 2006-12-28 17:57:37.000000000 +0100 @@ -16,7 +16,7 @@ for apache in "apache" "apache-perl" "apache-ssl" "apache2"; do cfile="/etc/$apache/conf.d/dwww" dwwwf="/etc/dwww/apache.conf" - if [ -L "$cfile" ] && [ x`realpath "$cfile"` = x"$dwwwf" ]; then + if [ -L "$cfile" ] && [ x`readlink -f "$cfile"` = x"$dwwwf" ]; then rm -f "$cfile" elif [ -e "$cfile" ]; then echo "$cfile exists, but isn't symlinked to $dwwwf. Not removing" Regards, Frank -- Dr. Frank Küster Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich Debian Developer (teTeX/TeXLive)