Package: dlocate
Version: 0.5-0.2
Severity: normal
dlocate(1) returns 0 even if the search is not successful. An Example:
# dlocate /etc/profile
# echo $?
0
However, this is wrong. It makes the program unusable for normal chaining
"Try something else, if failed". Like here:
dlocate $file ||
dpkg -S $file ||
grep $file /var/lib/dpkg/info/* ||
...
The code never enters like dpkg(1) which would continue if the previous
search did not succeed.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US)
Versions of packages dlocate depends on:
ii dpkg 1.13.18 package maintenance system for Deb
ii grep-dctrl 2.9.0 Grep Debian package information -
ii perl 5.8.8-4 Larry Wall's Practical Extraction
dlocate recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]