Re: pacman and hooks

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



On Tue, 02 Feb 2016 23:51:16 +0100
Magnus Therning <magnus@xxxxxxxxxxxx> wrote:

> Doug Newgard writes:
> 
> > On Tue, 02 Feb 2016 23:25:58 +0100
> > Magnus Therning <magnus@xxxxxxxxxxxx> 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
> 

No, even those are for packages. Users/admins should use /etc/pacman.d/hooks.
Not sure about scripts.



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux