On Mon, Oct 17, 2005 at 01:20:47PM +0200, Michal Cihar wrote:
> - if [ "$2" -eq "" ]; then
> + if [ "$2" = "" ]; then
Better yet:
if [ -z "$2" ]; then
or at least:
if [ "x$2" = "x" ]; then
--Paul Vojta, [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of
Package: x11-common
Version: 6.8.2.dfsg.1-9
Severity: normal
Tags: patch
Hi
The preinst script uses -eq for string comparsion, however correct is
to use =. Otherwise you might get following error:
Preparing to replace x11-common 6.8.2.dfsg.1-8 (using
.../x11-common_6.8.2.dfsg.1-9_all.deb) ...
2 matches
Mail list logo