Patches for aports can be sent to this list

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

Details
Message ID
<20190306034227.5176-1-sir@cmpwn.com>
Sender timestamp
1551843747
DKIM signature
missing
Download raw message
Patch: +2 -1
---
 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
@@ -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
-- 
2.21.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---