În ziua de marți, 12 iunie 2018, la 23:47:22 EEST, Christoph Böhmwalder a scris: > Hi, > > I was wondering if there was a way to run a shell script anytime a specific > package is updated. > > My use case for this is as follows: I have a high DPI display, so I've > modified Chromium's .desktop file to include the > `--force-device-scale-factor=1.5` flag. It works fine, but the problem > is that this file obviously gets overwritten on each update, so I have > to manually run a sed script after every Chromium update. This is > rather annoying, and since I've done this for over a year now I finally > want to stop being lazy about it and tackle the issue. > > Any suggestions are welcome, thanks. >
I think you could maintain your local version of the .desktop file in ~/.local/share/applications This will not be modified by emerge.

