Date: Mon, 31 Jan 2005 13:00:39 +0300 From: Sergey Skvortsov <skv@protey.ru> To: perl@FreeBSD.org Subject: Re: [HEADS UP] perl symlinks in /usr/bin will be gone Message-ID: <41FE01C7.50609@protey.ru> In-Reply-To: <20050129202425.GA56998@heechee.tobez.org> References: <20050129202425.GA56998@heechee.tobez.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Anton Berezin wrote: > Unless I hear too many cries "don't do that" (with justification), I > I plan to not create any perl symlinks in /usr/bin in the forthcoming Very bad idea - it is not "perl-like" at all. Just a cite from "perlrun": <cite> Location of Perl It may seem obvious to say, but Perl is useful only when users can eas- ily find it. When possible, it's good for both /usr/bin/perl and /usr/local/bin/perl to be symlinks to the actual binary. If that can't be done, system administrators are strongly encouraged to put (symlinks to) perl and its accompanying utilities into a directory typically found along a user's PATH, or in some other obvious and convenient place. </cite> To remove dangling symlinks in pkg-plist: @unexec [ -L %B/perl5 && ! -x %B/perl5 ] && rm %B/perl5 or a little more sophisticated expression (to restore previous perl-5.00503 on FreeBSD 4.x for example). -- Sergey Skvortsov mailto: skv@protey.ru
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41FE01C7.50609>