Re: .install and .postinstall files

2016-06-15 Thread Nicolás Vázquez
Thanks Wido! 2016-06-15 4:29 GMT-03:00 Wido den Hollander : > > > Op 14 juni 2016 om 18:09 schreef Nicolás Vázquez < > nicovazque...@gmail.com>: > > > > > > Thanks Rafael! My bad, it was '.postinst' extension instead of > > '.postinstall' > > > > These files are included the dpkg when building th

Re: .install and .postinstall files

2016-06-15 Thread Wido den Hollander
> Op 14 juni 2016 om 18:09 schreef Nicolás Vázquez : > > > Thanks Rafael! My bad, it was '.postinst' extension instead of > '.postinstall' > These files are included the dpkg when building the .deb packages. They are executed post-installation when installing the .deb on a system. Widi > 20

Re: .install and .postinstall files

2016-06-14 Thread Nicolás Vázquez
Thanks Rafael! My bad, it was '.postinst' extension instead of '.postinstall' 2016-06-14 12:37 GMT-03:00 Rafael Fonseca : > Hey Nicolas, > > The .install file should be used by dpkg when the deb packages are built > with dpkg-buildpackage, i don't know about .postinstall extension, usually > you

Re: .install and .postinstall files

2016-06-14 Thread Rafael Fonseca
Hey Nicolas, The .install file should be used by dpkg when the deb packages are built with dpkg-buildpackage, i don't know about .postinstall extension, usually you have to specify post-install scripts somewhere.. a grep -r on the code base should expose if that postinstall file is called from deb

.install and .postinstall files

2016-06-14 Thread Nicolás Vázquez
Hi all, A quick question: Where are 'debian/cloudstack-management.install' and 'debian/cloudstack-management.postinstall' files used? I see the first one declares folders to be created but I don't know where is this file used. Thanks, Nicolas