Bug#446347: Missing test command in hobbit.postrm

2007-10-12 Thread Christoph Berg
tags 446347 + confirmed
thanks

Re: Yukio Shiiya 2007-10-12 <[EMAIL PROTECTED]>
> I think a 'test' comamnd required in 'if' command line in the upgrade
> section of the hobbit.postrm file is missing.

Oh right, looks like I coded too much perl recently.

Thanks for spotting.

Christoph


signature.asc
Description: Digital signature


Bug#446347: Missing test command in hobbit.postrm

2007-10-12 Thread Yukio Shiiya
Package: hobbit
Version: 4.2.0.dfsg-5
Severity: normal
Tags: patch

Hi,

First of all, sorry for my poor English.

I think a 'test' comamnd required in 'if' command line in the upgrade
section of the hobbit.postrm file is missing.
Therefore, in case of upgrading from the hobbit package less than
version 4.2.0.dfsg-2, I think an error like "-e: command not found"
probably occurs.
(Since I'm not using such a hobbit package, I cannot reproduce the
error...)

As I attach a patch, please review it.

Thanks,

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)


hobbit.postrm.patch
Description: application/not-regular-file