You are not logged in.

#1 2010-09-05 20:55:56

grimp3ur
Member
Registered: 2010-09-05
Posts: 7

Custom post_upgrade hook?

Something like `customizepkg' but with respect to binary package,
sort of additional `post_upgrade' hook.

I.e. I would like to change some package configuration automatically after upgrade.

For an example:
  - changing "hello message" for several utils
  - setting  some capabilities on certain files
  - changing icon size for FBReader

(currently I run sh-scripts every time after corresponding upgrades)

Is it possible to implement subject with not very dirty tricks?

Thank you in advance.

Offline

#2 2010-09-06 00:57:02

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: Custom post_upgrade hook?

I suggest checking out [pacman-dev], I recall hooks were in the process of being implemented (not sure how far along though)


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2010-09-06 04:02:16

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Custom post_upgrade hook?

Hooks never made it past the "talk about how to do it" stage...   I think there was recent patch activity on the mailing list.

Offline

Board footer

Powered by FluxBB