aboutsummaryrefslogtreecommitdiffstats
path: root/main/git
diff options
context:
space:
mode:
authortcely <tcely@users.noreply.github.com>2019-05-21 11:38:03 -0400
committerCarlo Landmeter <clandmeter@alpinelinux.org>2019-05-22 07:35:51 +0000
commit9747f1c775bb58de32435df02dc17386d2b397d9 (patch)
tree9467909843414009a47a12dae9d1bed55b3ed35a /main/git
parent1d2b48e018c23064f7c06489f40fe105ab6b3353 (diff)
downloadaports-9747f1c775bb58de32435df02dc17386d2b397d9.tar.bz2
aports-9747f1c775bb58de32435df02dc17386d2b397d9.tar.xz
main/git: install git-perl when perl is installed
Closes: GH-7982
Diffstat (limited to 'main/git')
-rw-r--r--main/git/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/git/APKBUILD b/main/git/APKBUILD
index 3223c7b5d3..9ca8d20894 100644
--- a/main/git/APKBUILD
+++ b/main/git/APKBUILD
@@ -11,7 +11,7 @@
# - CVE-2017-1000117
pkgname=git
pkgver=2.21.0
-pkgrel=3
+pkgrel=4
pkgdesc="Distributed version control system"
url="https://www.git-scm.com"
arch="all"
@@ -243,6 +243,7 @@ diff_highlight() {
_git_perl() {
pkgdesc="Additional Git commands that requires perl"
depends="git=$pkgver-r$pkgrel perl-git=$pkgver-r$pkgrel perl"
+ install_if="git=$pkgver-r$pkgrel perl"
mkdir -p "$subpkgdir"/usr/lib
cd "$pkgdir"