aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-03-05 20:42:27 -0700
committerLeonardo Arena <rnalrd@alpinelinux.org>2019-03-06 13:31:30 +0000
commit2c60d393e8aa8729f39396d54ab7bfc83bb23b56 (patch)
treec24e870349f7840bc51133ec315ad08651d08df7 /main
parent0da9ce6cb9edf45f6cf35a27a5f4a73471eb7378 (diff)
downloadaports-2c60d393e8aa8729f39396d54ab7bfc83bb23b56.tar.bz2
aports-2c60d393e8aa8729f39396d54ab7bfc83bb23b56.tar.xz
main/nginx: install -vim if vim is present
Diffstat (limited to 'main')
-rw-r--r--main/nginx/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/nginx/APKBUILD b/main/nginx/APKBUILD
index a6d4d5af37..8602f458f5 100644
--- a/main/nginx/APKBUILD
+++ b/main/nginx/APKBUILD
@@ -15,7 +15,7 @@ pkgname=nginx
# NOTE: Upgrade only to even-numbered versions (e.g. 1.14.z, 1.16.z)!
# Odd-numbered versions are mainline (development) versions.
pkgver=1.14.2
-pkgrel=0
+pkgrel=1
# Revision of nginx-tests to use for check().
_tests_hgrev=d6daf03478ad
_njs_ver=0.2.0
@@ -258,6 +258,7 @@ package() {
vim() {
pkgdesc="$pkgdesc (vim syntax)"
+ install_if="vim $pkgname=$pkgver-r$pkgrel"
depends=
mkdir -p "$subpkgdir"/usr/share/vim