Bugfix for running on linux without bundled JRE (#17)
Bugfix for running on linux without bundled JRE (#17)

* Added postinst for having runtime-settings being adjusted after installation

`app.runtime` will be changed in the case `JRE_HOME` is not set, using `JAVA_HOME` for its value instead

* search for known JDK-locations

* fixed stupid variable-naming

* handle dpkg-reconfigure inside postinst

* refactored, use sed only once

AdamCarroll/vh-sandbox,AdamCarroll/vh-sandbox,AdamCarroll/VocabHunter,AdamCarroll/VocabHunter,VocabHunter/VocabHunter,VocabHunter/VocabHunter