openhab / openhab-linuxpkg

Repo for Linux packages
Eclipse Public License 2.0
18 stars 33 forks source link

Stop using ospackage template for control files #91

Closed BClark09 closed 6 years ago

BClark09 commented 6 years ago

Never thought to check this earlier, but it seems that use of preInstall postInstall etc is appending to a template from ospackage, we certainly don't want that as it encapsulates everything in our scripts in the configure stage...

This would not have changed anything in prerm or postrm, just preinstall and postinstall but requires extensive testing nonetheless.

Signed-off-by: Ben Clark ben@benjyc.uk

ThomDietrich commented 6 years ago

Sounds good

BClark09 commented 6 years ago

Tested, and working. No known improvement, but best to make the change now in case we split install and upgrade functions in postinst later.