[Slackbuilds-users] jdk fix for 7u80

Miguel De Anda miguel at thedeanda.com
Tue Jul 14 22:58:02 UTC 2015


i've had to stay on version 7 for awhile now since some apps just
don't run properly on 8 and i've run into issues with slackrepo where
it doesn't seem to acknowledge that i've installed it from the
official jdk slackbuild (slackware mainline) so i wanted to give the
sbo slackbuild a try. when i pass VERSION=7u80 to slackrepo it... well
almost works. the fix should be pretty simple:

============================
PRGNAM=jdk
VERSION=${VERSION:-8u45}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}

DVER=1.8.0_$(printf $VERSION | cut -du -f2)
============================

the last line should read:

DVER=1.$(printf $VERSION | cut -du -f1).0_$(printf $VERSION | cut -du -f2)

an arguably better way to go is to just take the directory named jdk*
and move/rename it to avoid folder name guessing.

just my 2 cents


More information about the SlackBuilds-users mailing list