diff options
author | Kyle Elbert <kcelbert@gmail.com> | 2019-01-26 20:30:09 -0600 |
---|---|---|
committer | Alice Ferrazzi <alicef@gentoo.org> | 2019-01-29 14:58:45 +0000 |
commit | a3ab71a1e428f4a05eb7ce9c26cebcd3c447bd60 (patch) | |
tree | 365176d3afb8682edfd36963ebf907882be1cb7b /dev-util/idea-community | |
parent | dev-util/idea-community: Update License (diff) | |
download | gentoo-a3ab71a1e428f4a05eb7ce9c26cebcd3c447bd60.tar.gz gentoo-a3ab71a1e428f4a05eb7ce9c26cebcd3c447bd60.tar.bz2 gentoo-a3ab71a1e428f4a05eb7ce9c26cebcd3c447bd60.zip |
dev-util/idea-community: fix custom-jdk useflag in previous versions
Because of the switch to a 64 bit jdk at some point prior to even 2017.2.2 (the
oldest version in the tree), the directory naming changed and so even without
the custom-jdk useflag the jdk was being installed, and with the custom-jdk
useflag the jdk's binaries were not correctly being marked executable
Package-Manager: Portage-2.3.58, Repoman-2.3.12
Signed-off-by: Kyle Elbert <kcelbert@gmail.com>
Signed-off-by: Alice Ferrazzi <alicef@gentoo.org>
Diffstat (limited to 'dev-util/idea-community')
-rw-r--r-- | dev-util/idea-community/idea-community-2017.2.2.172.3757.52-r1.ebuild | 8 | ||||
-rw-r--r-- | dev-util/idea-community/idea-community-2018.3.1.183.4588.61-r1.ebuild | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/dev-util/idea-community/idea-community-2017.2.2.172.3757.52-r1.ebuild b/dev-util/idea-community/idea-community-2017.2.2.172.3757.52-r1.ebuild index c3da3d3edc20..bfb9c749e703 100644 --- a/dev-util/idea-community/idea-community-2017.2.2.172.3757.52-r1.ebuild +++ b/dev-util/idea-community/idea-community-2017.2.2.172.3757.52-r1.ebuild @@ -41,8 +41,8 @@ src_prepare() { rm bin/fsnotifier-arm || die fi if ! use custom-jdk; then - if [[ -d jre ]]; then - rm -r jre || die + if [[ -d jre64 ]]; then + rm -r jre64 || die fi fi } @@ -55,8 +55,8 @@ src_install() { fperms 755 "${dir}"/bin/{idea.sh,fsnotifier{,64}} if use custom-jdk; then - if [[ -d jre ]]; then - fperms 755 "${dir}"/jre/jre/bin/{java,jjs,keytool,orbd,pack200,policytool,rmid,rmiregistry,servertool,tnameserv,unpack200} + if [[ -d jre64 ]]; then + fperms 755 "${dir}"/jre64/bin/{java,jjs,keytool,orbd,pack200,policytool,rmid,rmiregistry,servertool,tnameserv,unpack200} fi fi diff --git a/dev-util/idea-community/idea-community-2018.3.1.183.4588.61-r1.ebuild b/dev-util/idea-community/idea-community-2018.3.1.183.4588.61-r1.ebuild index c3da3d3edc20..bfb9c749e703 100644 --- a/dev-util/idea-community/idea-community-2018.3.1.183.4588.61-r1.ebuild +++ b/dev-util/idea-community/idea-community-2018.3.1.183.4588.61-r1.ebuild @@ -41,8 +41,8 @@ src_prepare() { rm bin/fsnotifier-arm || die fi if ! use custom-jdk; then - if [[ -d jre ]]; then - rm -r jre || die + if [[ -d jre64 ]]; then + rm -r jre64 || die fi fi } @@ -55,8 +55,8 @@ src_install() { fperms 755 "${dir}"/bin/{idea.sh,fsnotifier{,64}} if use custom-jdk; then - if [[ -d jre ]]; then - fperms 755 "${dir}"/jre/jre/bin/{java,jjs,keytool,orbd,pack200,policytool,rmid,rmiregistry,servertool,tnameserv,unpack200} + if [[ -d jre64 ]]; then + fperms 755 "${dir}"/jre64/bin/{java,jjs,keytool,orbd,pack200,policytool,rmid,rmiregistry,servertool,tnameserv,unpack200} fi fi |