[patch] simplify install links

Mike Frysinger vapier at gentoo.org
Thu Dec 12 03:13:24 WST 2013


On Wednesday 11 December 2013 08:55:54 Matt Johnston wrote:
> On Sun, Dec 08, 2013 at 08:26:43PM -0500, Mike Frysinger wrote:
> > there's no need to do `rm; ln` when `ln -f` will do the same thing
> 
> It's not always the same, I dislike "ln -f". For example:
> 
> ln -s /tmp foo
> ln -sf /etc/hosts foo
> cat foo

GNU/coreutils' ln has the -T flag specifically for this purpose, but it means 
you won't be portable.  seems weird though that someone would be doing 
something dumb like:
	ln -s /tmp /usr/bin/dropbear
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/attachments/20131211/107c40f7/attachment.sig 


More information about the Dropbear mailing list