summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorD. Can Celasun2019-09-18 14:36:35 +0100
committerD. Can Celasun2019-09-18 14:36:35 +0100
commit5ab7636765eb6037cbe0cfbba5b8b94617781a89 (patch)
treeed86597cb7e581e7c1e8af07633d2a4c3bf9564b /PKGBUILD
parente067981a4ea2502f596812d8b63a523e626bc337 (diff)
downloadaur-5ab7636765eb6037cbe0cfbba5b8b94617781a89.tar.gz
[intellij-idea-ultimate-edition] Make prepare() idempotent
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a49d254e48ec..3397ef6c8094 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ pkgbase=intellij-idea-ultimate-edition
pkgname=(intellij-idea-ultimate-edition intellij-idea-ultimate-edition-jre)
pkgver=2019.2.2
_buildver=192.6603.28
-pkgrel=1
+pkgrel=2
arch=('any')
pkgdesc="An intelligent IDE for Java, Groovy and other programming languages with advanced refactoring features intensely focused on developer productivity."
url="https://www.jetbrains.com/idea/"
@@ -17,6 +17,7 @@ sha256sums=('5b16caa8a495f381b8d72b8c819c701d9cd39ae98efcaf05203d7e40a20fffae'
prepare() {
# Extract the JRE from the main pacakge
+ rm -rf "$srcdir"/jbr
mv idea-IU-$_buildver/jbr "$srcdir"/jbr
}