Imported Google Group message. Original thread at: https://groups.google.com/forum/#!topic/tyk-community-support/dTgFSwKUMuU Import Date: 2016-01-19 21:23:53 +0000.
Sender:Tor Inge Skaar.
Date:Wednesday, 16 September 2015 10:03:40 UTC+1.
I have an issue where my customized portal templates are overwritten when upgrading Tyk-Analytics. This happens because apt is upgrading it automatically from an internal repo.
I tried having my own customized template files being prefixed with, in my case, my org slug. But having multiple files in the templates directory defining “indexPage” makes Tyk Analytics crash when trying to start.
I could change the preinst script of the debian package of Tyk-Analytics to backup existing templates when doing upgrades and then restore them in the postinst script, but this feels like a dirty hack…
Tor Inge Skaar