I want to start sharing .deb files that automatically add new repos to an Ubuntu installation (like the ones present in puppetlabs.com).
How can I do that?
|
I want to start sharing .deb files that automatically add new repos to an Ubuntu installation (like the ones present in puppetlabs.com). How can I do that? |
|||
|
|
|
You could add a postinst script to your package:
http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html An example The Opera browser is adding itself to the /etc/apt/sources.list.d/opera.list with the postinst script: http://pastebin.com/u6SR6krY |
|||||||||
|