Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#12182 - ABCDE package: test for /usr/bin/less fails
Attached to Project:
Arch Linux
Opened by Mads (chochem) - Wednesday, 19 November 2008, 18:32 GMT
Last edited by Jeff Mickey (codemac) - Tuesday, 20 January 2009, 22:52 GMT
Opened by Mads (chochem) - Wednesday, 19 November 2008, 18:32 GMT
Last edited by Jeff Mickey (codemac) - Tuesday, 20 January 2009, 22:52 GMT
|
DetailsDescription:
In the abcde script(/usr/bin/abcde) line 1596: elif [ -x /usr/bin/less ]; then always fails, since a "type less" on my system (and supposedly all arch systems) reveals less to be /bin/less. Adding a symbolic link works. Version: 2.3.3-3 |
This task depends upon
Closed by Jeff Mickey (codemac)
Tuesday, 20 January 2009, 22:52 GMT
Reason for closing: Fixed
Additional comments about closing: bam.
Tuesday, 20 January 2009, 22:52 GMT
Reason for closing: Fixed
Additional comments about closing: bam.
OT: I think "which less" is more appropriate. Or "type -P less" (in bash).
Anyway there is an interesting point. Should some utility in /bin have a symlink in /usr/bin?
The FHS states:
/bin contains commands that may be used by both the system administrator and by users, but which are required when no other filesystems are mounted (e.g. in single user mode). It may also contain commands which are used indirectly by scripts.
Is less (in Arch Linux) needed in /bin? 'less' is a base package and the only pager in base: maybe the answer is yes.
abcde seems to be rather Debian-centric; it can be Arch-ized patching line 1596.
Another solution is a post-install warning to set PAGER.
Better complain upstream to document it in the manpage or fix the script looking at /bin/less also.
BTW it seems that http://www.hispalinux.es/~data/abcde.php is no more valid (404) and the project is hosted at http://code.google.com/p/abcde/. Most recent svn tag is: 2.3.99.7.