[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proper location to install shell function libraries?

From: Basin Ilya
Subject: Re: Proper location to install shell function libraries?
Date: Thu, 2 Mar 2017 07:57:49 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1

I agree. Consider RHEL/CentOS where you can simultanneously install both .i686 
and .x86_64 versions of one package. The packages are allowed to have 
overlapping files, if these files don't differ.

If one puts script libraries to $libdir/<subdir>,  CentOS will have duplicate 
files in /lib/<subdir> and /lib64/<subdir>, but in case of $datadir there will 
be only one /usr/share/<subpackage>

On 02.03.2017 06:52, Russ Allbery wrote:
> Ralf Corsepius <address@hidden> writes:
>> $libdir/<subdir>/ (e.g. %libdir/<package>) is the playground a package can
>> install more or less whatever it wants, comprising executables.
>> As your "scripts" don't seem to be "programs", $libdir/<subdir> probably
>> is what you are looking for.
> $datadir/<subdir>, no?  Script libraries are almost certainly
> architecture-independent.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]