You are not logged in.

#1 2012-05-11 13:01:29

gonX
Member
From: Denmark
Registered: 2009-08-16
Posts: 112

[SOLVED] Post-installation script of certain packages in pacman?

Hey guys,

I want to be able to copy/rename my /boot/vmlinuz-linux to /boot/linux.efi after installing the package. Is there an easier way to do this other than doing this in /etc/rc.shutdown (this also has issues if my computer crashes)? Cron is also a possibility but I don't want a script to be running too often on my computer.

Anyone?

Last edited by gonX (2012-05-11 13:42:36)


since 2009

Offline

#2 2012-05-11 13:07:36

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] Post-installation script of certain packages in pacman?

Use incron.

Offline

#3 2012-05-11 13:19:23

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: [SOLVED] Post-installation script of certain packages in pacman?

tomk wrote:

Use incron.

nice, didn't know something like this exists, thanks.

if you switch to systemd at some point: https://bbs.archlinux.org/viewtopic.php … 6#p1099376

I also read something about pacman supporting hooks in the future, but I don't know if this is still on the todo-list.

Offline

#4 2012-05-11 13:42:20

gonX
Member
From: Denmark
Registered: 2009-08-16
Posts: 112

Re: [SOLVED] Post-installation script of certain packages in pacman?

Thanks, incron seems to do the job.


since 2009

Offline

Board footer

Powered by FluxBB