Seems like Rich has beaten me here. Thanks for posting my script.
I have made a minor change (I realized that the dependency should be java2-runtime rather than java-virtual-machine), so I have attached the slightly modified script here.
Seems like Rich has beaten me here. Thanks for posting my script.
I have made a minor change (I realized that the dependency should be java2-runtime rather than java-virtual- machine) , so I have attached the slightly modified script here.