Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119703 - tcsh does not create csh symlink.
Summary: tcsh does not create csh symlink.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 119426
  Show dependency tree
 
Reported: 2006-01-20 09:06 UTC by Peter Volkov (RETIRED)
Modified: 2006-02-03 14:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Volkov (RETIRED) gentoo-dev 2006-01-20 09:06:01 UTC
Latest versions of tcsh does not create symlink /bin/csh. The problem is that dosym does not work in pkg_postinst(). It creates
/var/tmp/portage/tcsh-6.14-r2/image/bin/csh symlink on /etc/tcsh. But as it is called in pkg_postinst() then actual copy of image directory in live system was already done. Please, move    
[ ! -e /bin/csh ] && dosym /bin/tcsh /bin/csh
in src_install() or use ln there.
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2006-01-20 09:09:05 UTC
And I need to mention that this bug is only in currently stable tcsh-6.14-r2 ebuild.
Comment 2 Fabian Groffen gentoo-dev 2006-01-20 09:16:28 UTC
Hmmm... it was in src_install, but I was told to do it in pkg_postinst because of non-availability of csh when checking for it.  src_install can't check outside the image or something.

I'm confused now.  Will look into it.
Comment 3 Fabian Groffen gentoo-dev 2006-01-29 03:23:35 UTC
I added tcsh-6.14-r3 which solves this bug by adding the symlink.  Also csh is now blocked from tcsh.  The fun is that csh stable already blocked tcsh, so there should be noone with both installed...
Comment 4 Marcelo Goes (RETIRED) gentoo-dev 2006-02-03 14:42:00 UTC
Marking as fixed... Reopen if you object!