How to execute user's scripts when upgrading a certain package via apt/aptitude
- Date: Wed, 28 Mar 2018 18:29:06 +0200
- From: Mikhail Morfikov <mmorfikov@xxxxxxxxx>
- Subject: How to execute user's scripts when upgrading a certain package via apt/aptitude
I have some packages, for instance firefox, which need a little bit of customization from a user side. So basically when I install the new version of firefox, I also have to do some extra steps and so far I've been doing it manually because I don't know any better way. In the case of firefox, I have to create some hard links. Those hard links are used as additional executable files to be profiled in AppArmor. But when I upgrade my system, and firefox is on the package list, the hard links basically stop working and they have to be removed and recreated manually after the upgrade is done. Is there a way to pass some extra commands/script to apt/aptitude so when the firefox package is to be upgraded, it would recreate the links automatically? -- Morfik
Attachment:
signature.asc
Description: OpenPGP digital signature
- Follow-Ups:
- Prev by Date: Re: dependancies issues
- Next by Date: Re: How to execute user's scripts when upgrading a certain package via apt/aptitude
- Previous by thread: dependancies issues
- Next by thread: Re: How to execute user's scripts when upgrading a certain package via apt/aptitude
- Index(es):