Mail archive
alpine-aports

[alpine-aports] [PATCH] main/nginx: install -vim if vim is present

From: Drew DeVault <sir_at_cmpwn.com>
Date: Tue, 5 Mar 2019 20:42:27 -0700

---
 main/nginx/APKBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/main/nginx/APKBUILD b/main/nginx/APKBUILD
index a6d4d5af37..8602f458f5 100644
--- a/main/nginx/APKBUILD
+++ b/main/nginx/APKBUILD
_at_@ -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
_at_@ -258,6 +258,7 @@ package() {
 
 vim() {
 	pkgdesc="$pkgdesc (vim syntax)"
+	install_if="vim $pkgname=$pkgver-r$pkgrel"
 	depends=
 
 	mkdir -p "$subpkgdir"/usr/share/vim
-- 
2.21.0
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Mar 05 2019 - 20:42:27 UTC