Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Nov 2007 20:42:07 -0400
From:      "Aryeh M. Friedman" <aryeh.friedman@gmail.com>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: [PATCH] prevent install(1) from overwritting symlinks
Message-ID:  <472A725F.6000201@gmail.com>
In-Reply-To: <20071102043043.GI3109@dan.emsphone.com>
References:  <472A66EE.6060407@gmail.com> <20071102043043.GI3109@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Dan Nelson wrote:
> In the last episode (Nov 01), Aryeh M. Friedman said:
>   
>> The below patch is designed to keep install(1) from overwriting symbolic
>> links.   The motivation is if cups is installed some programs still
>> expect lpr to be in /usr/bin thus when I install cups I backlink the
>> /usr/local/bin versions of lp* to /usr/bin.   When a build/installworld
>> is done these links are overwritten and the sym links have to be
>> performed again.   This patch prevents the overwrite.
>>     
>
> Why not just set WITHOUT_LPR to skip building the base versions
> entirely?
>  
>   
Because this happens in other cases not covered by WITHOUT_XXX also it
does not solve the problem of ports and/or third party install from
overwritting.... i.e. this is a general solution to a specific problem
(which I think is preferable to a one off solution for each instance of
a problem)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?472A725F.6000201>