Le 19/01/2015 11:01, Guillem Jover a écrit :

> Having taken a look at that script, there's some issues that I've
> noticed:

Thank you for the review Guillem.


>  * Using «dpkg --print-architecture» in maintscripts is almost always
>    wrong, in this case what you want is the architecture matching the
>    JRE, so you should be doing a dpkg-query on that package instead.

You are right, I filed #776860 to address this issue. I installed
openjdk-7-jre:i386 on an amd64 system and for some reason
openjdk-7-jre:amd64 has been pulled as well. I don't know if this is
normal, but at least the ca-certificates-java script was able to run and
create the keystore.


>  * dpkg-query has been available for a very long time, just assume
>    it's there, no need to which it.
>  * The indentation is a bit messed up.

I'll fix that post Jessie.

Emmanuel Bourg

_______________________________________________
Mailing list: https://launchpad.net/~openjdk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openjdk
More help   : https://help.launchpad.net/ListHelp

Reply via email to