[arch-general] Pacman Hooks
Hi, I have been trying to write some hooks for my pacman and so, I search the internet for it. I could not find any documentation on it, apart from some examples and a blog post on Allan McRae's blog. I was wondering if there is such a documentation or not? -- Cheers Jayesh Badwaik
A quick browsing of the manpages would help. Try the alpm-hooks(5) manpage. cheers! mar77i
On 21 August 2016 at 13:29, Jayesh Badwaik <archlinux@jayeshbadwaik.in> wrote:
Hi,
I have been trying to write some hooks for my pacman and so, I search the internet for it. I could not find any documentation on it, apart from some examples and a blog post on Allan McRae's blog. I was wondering if there is such a documentation or not?
You probably want to check out the manpage for alpm-hooks. Kind regards, Maarten de Vries
Le 21. 08. 16 à 13:29, Jayesh Badwaik a écrit :
Hi,
I have been trying to write some hooks for my pacman and so, I search the internet for it. I could not find any documentation on it, apart from some examples and a blog post on Allan McRae's blog. I was wondering if there is such a documentation or not?
man alpm-hooks :) I also had trouble finding it. By the way, take a look at the HookDir option in pacman.conf if you write your own hooks (see man pacman.conf). Simon Brulhart
Had the same problem when I was working on a package of mine. I believe what you are looking for is this https://wiki.archlinux.org/index.php/pacman#Hooks. In particular look at the alpm documentation linked there and put in the first directory listed in that paragraph. You'll find some nice hook examples as well in that directory On Aug 21, 2016 6:29 AM, "Jayesh Badwaik" <archlinux@jayeshbadwaik.in> wrote:
Hi,
I have been trying to write some hooks for my pacman and so, I search the internet for it. I could not find any documentation on it, apart from some examples and a blog post on Allan McRae's blog. I was wondering if there is such a documentation or not?
-- Cheers Jayesh Badwaik
On Sunday, 21 August 2016 06:35:22 CEST Arsalan Afzal via arch-general wrote:
Had the same problem when I was working on a package of mine. I believe what you are looking for is this https://wiki.archlinux.org/index.php/pacman#Hooks. In particular look at the alpm documentation linked there and put in the first directory listed in that paragraph. You'll find some nice hook examples as well in that directory
Thank you all of you for quick responses. I read the pacman#Hooks page. It is not that descriptive, but alpm hooks look descriptive enough. -- Cheers Jayesh Badwaik
participants (5)
-
Arsalan Afzal
-
Jayesh Badwaik
-
Maarten de Vries
-
Martin Kühne
-
Simon Brulhart