aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/nginx/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/main/nginx/APKBUILD b/main/nginx/APKBUILD
index 14679a8c7d..1d624fec55 100644
--- a/main/nginx/APKBUILD
+++ b/main/nginx/APKBUILD
@@ -4,7 +4,7 @@
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
pkgname=nginx
pkgver=1.12.0
-pkgrel=1
+pkgrel=2
# Revision of nginx-tests to use for check().
_tests_hgrev=cdd44ff602db
pkgdesc="HTTP and reverse proxy server (stable version)"
@@ -217,6 +217,9 @@ package() {
ln -sf /var/tmp/$pkgname ./var/lib/$pkgname/tmp
ln -sf /run/$pkgname ./var/lib/$pkgname/run
+ # Remove archaic charset maps.
+ rm ./etc/$pkgname/koi-* ./etc/$pkgname/win-utf
+
rm -rf ./run ./etc/$pkgname/*.default
}