Package: plucker
Version: 1.8-21
Severity: normal
File: /usr/bin/plucker-setup
Tags: patch

I was referred to an outstanding Launchpad bug:

    https://bugs.launchpad.net/ubuntu/+source/plucker/+bug/126454

In plucker-setup is the following code:

    if not os.system('pilot-xfer > /dev/null 2>&1'):
        install_viewer()
    else:
        print "\nThe program 'pilot-xfer' is missing so the Palm applications 
cannot be installed. You'll find them in %s." % PALMDIR

It is clear that this is wrong; pilot-xfer fails with code 1 when run
without arguments.  Instead of boolean negation (not), plucker-setup
should compare the exit status to the integer 127, which is what will
be returned iff pilot-xfer is not in $PATH.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages plucker depends on:
ii  libatk1.0-0             1.20.0-1         The ATK accessibility toolkit
ii  libc6                   2.6.1-5          GNU C Library: Shared libraries
ii  libcairo2               1.4.10-1+b2      The Cairo 2D vector graphics libra
ii  libfontconfig1          2.4.2-1.2        generic font configuration library
ii  libglib2.0-0            2.14.1-5         The GLib library of C routines
ii  libgtk2.0-0             2.12.0-2         The GTK+ graphical user interface 
ii  libjpeg62               6b-14            The Independent JPEG Group's JPEG 
ii  libpango1.0-0           1.18.2-2         Layout and rendering of internatio
ii  libx11-6                2:1.0.3-7        X11 client-side library
ii  libxcursor1             1:1.1.9-1        X cursor management library
ii  libxext6                1:1.0.3-2        X11 miscellaneous extension librar
ii  libxfixes3              1:4.0.3-2        X11 miscellaneous 'fixes' extensio
ii  libxi6                  2:1.1.3-1        X11 Input extension library
ii  libxinerama1            1:1.0.2-1        X11 Xinerama extension library
ii  libxrandr2              2:1.2.2-1        X11 RandR extension library
ii  libxrender1             1:0.9.4-1        X Rendering Extension client libra
ii  python                  2.4.4-6          An interactive high-level object-o
ii  python-central          0.5.15           register and build utility for Pyt
ii  python-imaging          1.1.6-1          Python Imaging Library
ii  zlib1g                  1:1.2.3.3.dfsg-6 compression library - runtime

plucker recommends no packages.

-- no debconf information



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

Reply via email to