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

you're assuming the command realpath exists without checking it this is the
case. As you write in the package description of realpath: "This utility
provides mostly the same functionality as `/bin/readlink -f' in the
coreutils package." I suggest to replace the realpath call by a call to
readlink, which is provided by a required package.

Regards,
  Hilmar
-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ANSI_X3.4-1968) (ignored: LC_ALL 
set to POSIX)


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

Reply via email to