[arch-general] pacman and hooks

Magnus Therning magnus at therning.org
Tue Feb 2 22:51:16 UTC 2016


Doug Newgard writes:

> On Tue, 02 Feb 2016 23:25:58 +0100
> Magnus Therning <magnus at therning.org> wrote:
>
>> Stefan Tatschner writes:
>> 
>> > On 01.02.2016 23:05, Magnus Therning wrote:  
>> >> Is there more information about this feature available somewhere?  
>> >
>> > $ man 5 alpm-hooks  
>> 
>> Excellent. I also found this https://github.com/andrewgregory/pachooks.
>> 
>> I'm guessing that link contains one erroneos bit of information though,
>> the location of the hooks. Since `pacman` includes the dir
>> `/usr/share/libalpm/hooks/` I'm guessing that's where hooks should go,
>> right? (It could be a nice touch to put a README file there ;)
>> 
>> /M
>> 
>
> That's where packages should put hooks, not users/admins.

Ah, so admins should put site-specific hooks in the locations mentioned
in at the link above?

/M

-- 
Magnus Therning              OpenPGP: 0x927912051716CE39
email: magnus at therning.org   jabber: magnus at therning.org
twitter: magthe               http://therning.org/magnus

Some operating systems are called 'user friendly', Linux however is
'expert friendly'.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/arch-general/attachments/20160202/587587ca/attachment.asc>


More information about the arch-general mailing list