Gentoo Archives: gentoo-user

From: "Christoph Böhmwalder" <christoph@×××××××××××.at>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Package specific post-emerge hooks?
Date: Tue, 12 Jun 2018 20:47:41
Message-Id: 20180612204722.qiki5jtbt3sykoma@localhost
1 Hi,
2
3 I was wondering if there was a way to run a shell script anytime a specific
4 package is updated.
5
6 My use case for this is as follows: I have a high DPI display, so I've
7 modified Chromium's .desktop file to include the
8 `--force-device-scale-factor=1.5` flag. It works fine, but the problem
9 is that this file obviously gets overwritten on each update, so I have
10 to manually run a sed script after every Chromium update. This is
11 rather annoying, and since I've done this for over a year now I finally
12 want to stop being lazy about it and tackle the issue.
13
14 Any suggestions are welcome, thanks.
15
16 --
17 Regards,
18 Christoph

Replies

Subject Author
[gentoo-user] Re: Package specific post-emerge hooks? Ian Zimmerman <itz@××××××××××××.org>
Re: [gentoo-user] Package specific post-emerge hooks? Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] Package specific post-emerge hooks? zless <zless@×××××.site>