Re: [PATCH] prevent install(1) from overwritting symlinks

From: Aryeh M. Friedman <aryeh.friedman_at_gmail.com>
Date: Thu, 01 Nov 2007 21:57:06 -0400
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.
>>     

I just tested the patch against installworld/kernel and got:

% make installworld|grep symbolic
/usr/share/locale/sr_YU.UTF-8/LC_MONETARY is a symbolic link not modified
/usr/bin/lp is a symbolic link not modified
/usr/bin/lpq is a symbolic link not modified
/usr/bin/lpr is a symbolic link not modified
/usr/bin/lprm is a symbolic link not modified

% make installkernel|grep symbolic
[no output]


Except for the 4 /bin/lp* enteries (which the patch is meant to
preserve) the only issue seems to be
/usr/share/locale/sr_YU.UTF-8/LC_MONETARY.   Thus conclusion so far is
the patch will not harm 8-Current.
Received on Fri Nov 02 2007 - 04:58:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:20 UTC