Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a .diff file which I use to patch unity source code and then recompile it, so I can remove trash icon from unity panel which is important to me. However after every update of Unity, the patched version is obviously updated with the newer version from ubuntu repos.

My question is if it is possible to have a script run after every update of Unity which does the following:

1) Downloads newest source code from repos

2) Applies patch

3) Compiles the source

4) Installs the package

The script is easy to write, but my question is how to have the script run after every update of unity package?

I know there is something like DKMS for kernel, so patches to kernel are applied after every update. Is something like that possible for normal package, like Unity?

Thank you

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.