[Koha-bugs] [Bug 31055] Move koha-functions to /usr/sbin instead of koha/bin

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 28 01:49:42 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31055

David Cook <dcook at prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dcook at prosentient.com.au

--- Comment #4 from David Cook <dcook at prosentient.com.au> ---
(In reply to Marcel de Rooy from comment #0)
> For a long time I am copying koha-functions.sh to /usr/share/koha/bin, since
> that is the location that the koha-* scripts expect it to be.
> It would be easier to put it in sbin too.
> 
> Please tell me if there are valid legitimate reasons to do not so.

Well, koha-functions.sh isn't a command/executable that should be in the $PATH,
so really it shouldn't be in /usr/sbin (or /usr/share/koha/bin really).

koha-functions.sh should probably be in /usr/lib/koha or /usr/share/koha/lib I
suppose.

For example:
/usr/lib/lsb/init-functions
/usr/lib/cryptsetup/functions

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list