FS#10568 - tcsh and csh binaries should be in /bin

Attached to Project: Arch Linux
Opened by Alessandro Cafarella (alcafar) - Monday, 02 June 2008, 20:02 GMT
Last edited by Eric Belanger (Snowman) - Monday, 01 September 2008, 21:02 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Low
Priority Normal
Reported Version 1.5.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The tcsh package currently install binaries under /usr/bin, but the "default" position for shell binaries should be /bin, because the scripts usually look there for them (and also, for portability reasons, it would be better that scripts written using Arch look for shells in /bin).
So I suggest to move /usr/bin/tcsh to /bin/tcsh and the same for the symlink csh, or more simply to add symlinks in /bin.
This task depends upon

Closed by  Eric Belanger (Snowman)
Monday, 01 September 2008, 21:02 GMT
Reason for closing:  Implemented
Additional comments about closing:  implemented in tcsh 6.15.01-4 in extra now
Comment by Gavin Bisesi (Daenyth) - Tuesday, 03 June 2008, 19:02 GMT
I think it would be better to put the real file there rather than symlinks -- What if /usr is on a different partition, and the shell is needed before it's mounted. Unlikely, sure, but it could happen.
Comment by Eric Belanger (Snowman) - Tuesday, 29 July 2008, 05:24 GMT
FYI, I'll implement this. It'll be done the same way as it was done with zsh.
Comment by Eric Belanger (Snowman) - Monday, 04 August 2008, 01:11 GMT
Implemented in tcsh-6.15.01-3 in testing repo. Please test and report how it goes.
Comment by Eric Belanger (Snowman) - Monday, 04 August 2008, 01:17 GMT
About the implementation: The binaries are now in /bin. Legacy scripts for tcsh and csh are in /usr/bin. They print a warning, then run the binary in /bin.
Comment by Eric Belanger (Snowman) - Saturday, 16 August 2008, 03:19 GMT
Did anyone tried the package in testing? I'll wait for a few days for input then will move it to extra.