Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #194246
| From | "John Crawley (johnraff)" <john@bunsenlabs.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: How to execute user's scripts when upgrading a certain package via apt/aptitude |
| Date | 2018-03-29 01:10 +0200 |
| Message-ID | <vysmB-16L-1@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <vyndg-60Z-17@gated-at.bofh.it> <vynPX-6uS-3@gated-at.bofh.it> <vynPX-6uS-1@gated-at.bofh.it> <vyoj0-6FJ-5@gated-at.bofh.it> <vyoj0-6FJ-3@gated-at.bofh.it> |
| Organization | BunsenLabs |
On 2018-03-29 03:40, tomas@tuxteam.de wrote: > On Wed, Mar 28, 2018 at 08:18:24PM +0200, Mikhail Morfikov wrote: >> On 2018-03-28 20:12, Sven Joachim wrote: >> I really thought there's some easy way to include user's scripts when you want >> to make some additional changes to the upgraded packages, but it looks like the >> apt mechanism is a little bit limited. But I will try to do something with the >> trigger and see how that will work. > > I think the trick is to create a (nearly) empty package "my-firefox-custom" > which depends on firefox and thus pulls it in before its own post-install > takes over. > This sounds as if it should work, but your custom package would need upgrading every time Firefox was upgraded, so the automation would be lost. @Sven, depending on how you do your upgrades, maybe a script could interrogate apt-get as to what packages it intended to upgrade, before performing it. If 'firefox' was found, the extra action could be taken. So you'd write a wrapper around 'apt-get'. -- John
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: How to execute user's scripts when upgrading a certain package via apt/aptitude Sven Joachim <svenjoac@gmx.de> - 2018-03-28 19:40 +0200
Re: How to execute user's scripts when upgrading a certain package via apt/aptitude Sven Joachim <svenjoac@gmx.de> - 2018-03-28 20:20 +0200
Re: How to execute user's scripts when upgrading a certain package via apt/aptitude <tomas@tuxteam.de> - 2018-03-28 20:50 +0200
Re: How to execute user's scripts when upgrading a certain package via apt/aptitude "John Crawley (johnraff)" <john@bunsenlabs.org> - 2018-03-29 01:10 +0200
Re: How to execute user's scripts when upgrading a certain package via apt/aptitude "John Crawley (johnraff)" <john@bunsenlabs.org> - 2018-03-29 01:10 +0200
Re: How to execute user's scripts when upgrading a certain package via apt/aptitude Abdullah Ramazanoglu <ar018@yahoo.com> - 2018-03-29 02:20 +0200
Re: How to execute user's scripts when upgrading a certain package via apt/aptitude "John Crawley (johnraff)" <john@bunsenlabs.org> - 2018-03-30 04:10 +0200
csiph-web