Skip to content
This repository has been archived by the owner on Apr 9, 2019. It is now read-only.

How to force install a specific version? #40

Closed
kripz opened this issue Jun 18, 2012 · 4 comments
Closed

How to force install a specific version? #40

kripz opened this issue Jun 18, 2012 · 4 comments

Comments

@kripz
Copy link

kripz commented Jun 18, 2012

Can i specify or modify it to install 6u31 (for example)?

@kripz
Copy link
Author

kripz commented Jun 18, 2012

Can i change

JAVA_VER=echo ${DEB_VERSION} | cut -d'.' -f1
JAVA_UPD=echo ${DEB_VERSION} | cut -d'.' -f2 | cut -d'-' -f1

to

JAVA_VER=6
JAVA_UPD=31

@flexiondotorg
Copy link
Owner

Hi,

This is a good idea. You can hard code as kripz did above, but it should be implemented as an argument. Something like

./oab-java.sh -c

Which will list the tags available upstream.

./oab-java.sh -c v6.31

To specify a particular tag to use from upstream.

I don't have the time to add this feature right now, but might do in the future. If anyone cares to contribute a pull request though it would be most welcome :-)

Regards, Martin.

@kripz
Copy link
Author

kripz commented Jul 9, 2012

My OP didn't work, it's much more complicated than that.

@jesusaurus
Copy link

I hacked up a simple tag option, but I haven't added a way to list available tags. Also, I can't figure out how to tell github to attached the code to this issue, so I'm going to open a new pull request.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants