Re: [arch-general] pacman and hooks

2016-02-03 Thread Magnus Therning
Doug Newgard writes: > On Tue, 02 Feb 2016 23:51:16 +0100 > Magnus Therning wrote: > >> Doug Newgard writes: >> >> > On Tue, 02 Feb 2016 23:25:58 +0100 >> > Magnus Therning wrote: >> > >> >> Stefan Tatschner writes: >> >> >> >> > On 01.02.2016 23:05, Magnus Therning wrote: >> >> >> Is

Re: [arch-general] pacman and hooks

2016-02-02 Thread Doug Newgard
On Tue, 2 Feb 2016 21:06:14 -0500 Eli Schwartz wrote: > On 02/02/2016 09:00 PM, Andrew Gregory wrote: > > Neither hooks.bin nor hooks.local are used by alpm/pacman in any way. > > They are merely my own personal suggestions for where packages should > > put scripts and inactive hooks. The intent

Re: [arch-general] pacman and hooks

2016-02-02 Thread Eli Schwartz
On 02/02/2016 09:00 PM, Andrew Gregory wrote: > Neither hooks.bin nor hooks.local are used by alpm/pacman in any way. > They are merely my own personal suggestions for where packages should > put scripts and inactive hooks. The intent for hooks.local is for > packages to place any hooks that shoul

Re: [arch-general] pacman and hooks

2016-02-02 Thread Andrew Gregory
On 02/02/16 at 08:43pm, Eli Schwartz wrote: > On 02/02/2016 06:54 PM, Doug Newgard wrote: > > No, even those are for packages. Users/admins should use > > /etc/pacman.d/hooks. > > Not sure about scripts. > > I would guess that scripts can be put anywhere, I would probably just > put them in the H

Re: [arch-general] pacman and hooks

2016-02-02 Thread Eli Schwartz
On 02/02/2016 06:54 PM, Doug Newgard wrote: > No, even those are for packages. Users/admins should use /etc/pacman.d/hooks. > Not sure about scripts. I would guess that scripts can be put anywhere, I would probably just put them in the HookDir (matching *.{hook,sh} files). But why would anyone us

Re: [arch-general] pacman and hooks

2016-02-02 Thread Doug Newgard
On Tue, 02 Feb 2016 23:51:16 +0100 Magnus Therning wrote: > Doug Newgard writes: > > > On Tue, 02 Feb 2016 23:25:58 +0100 > > Magnus Therning wrote: > > > >> Stefan Tatschner writes: > >> > >> > On 01.02.2016 23:05, Magnus Therning wrote: > >> >> Is there more information about this fe

Re: [arch-general] pacman and hooks

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

Re: [arch-general] pacman and hooks

2016-02-02 Thread Doug Newgard
On Tue, 02 Feb 2016 23:25:58 +0100 Magnus Therning 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/andr

Re: [arch-general] pacman and hooks

2016-02-02 Thread Magnus Therning
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 informat

Re: [arch-general] pacman and hooks

2016-02-01 Thread Bruno Pagani
Le 01/02/2016 23:05, Magnus Therning a écrit : > I just noticed an email in this list mentioning that with pacman 5.0 we > know have support for hooks. I proceeded to look at the man pages for > /pacman/, /makepkg/, and /PKGBUILD/ but only found one mention of a > /hookdir/. > > Is there more infor

Re: [arch-general] pacman and hooks

2016-02-01 Thread Magnus Therning
Bruno Pagani writes: > Le 01/02/2016 23:05, Magnus Therning a écrit : >> I just noticed an email in this list mentioning that with pacman 5.0 we >> know have support for hooks. I proceeded to look at the man pages for >> /pacman/, /makepkg/, and /PKGBUILD/ but only found one mention of a >> /hook

Re: [arch-general] pacman and hooks

2016-02-01 Thread Stefan Tatschner
On 01.02.2016 23:05, Magnus Therning wrote: > Is there more information about this feature available somewhere? $ man 5 alpm-hooks S

[arch-general] pacman and hooks

2016-02-01 Thread Magnus Therning
I just noticed an email in this list mentioning that with pacman 5.0 we know have support for hooks. I proceeded to look at the man pages for /pacman/, /makepkg/, and /PKGBUILD/ but only found one mention of a /hookdir/. Is there more information about this feature available somewhere? /M -- M