Opened 19 years ago
Closed 19 years ago
#1643 closed defect (fixed)
less: only move executable less to /bin
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | lowest | Milestone: | |
Component: | Book | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
The less package installs three executables: less, lessecho and lesskey. Only less is needed in /bin, all others should be in /usr/bin. The less package installation should be changed to:
./configure --prefix=/usr --sysconfdir=/etc && make && make install && mv -v /usr/bin/less /bin
Change History (4)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
Based on the man page description, it doesn't look like it does. The matches for lesskey and lessecho in /bin/less does not turn up anything relevant.
comment:3 by , 19 years ago
Potentially embarassingly stupid question here, but why do we need to move `less' at all? The FHS, LSB and POSIX don't mention it, and the bootscripts don't call it. Why can't all 3 binaries just live in /usr/bin?
comment:4 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I suppose that we need to ensure that less doesn't look for the lessecho and lesskey programs when it is invoked. I don't know. I suppose renaming them temporarily and run less to see if it chokes would be one way to test.
But I do notice this:
rml@rmlinux: ~/build > grep lessecho /bin/less Binary file /bin/less matches rml@rmlinux: ~/build > grep lesskey /bin/less Binary file /bin/less matches