forwarded 446579 http://bugs.jpilot.org/1850
tags 446579 upstream
thank
Trent W. Buck a écrit :
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.
Forwarded upstream.
Thanks
--
Dr. Ludovic Rousseau