summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGoran Nushkov2019-04-06 03:55:07 +0200
committerGoran Nushkov2019-04-06 03:55:07 +0200
commitb1e416c689b698d7793e81ec9112b315cabf5ce3 (patch)
tree62c3a11561417d8408b7b762b39ac2fd81bd4c46
parent8dc61b7b7b119c84ed2106984f5d4623f1caa693 (diff)
downloadaur-b1e416c689b698d7793e81ec9112b315cabf5ce3.tar.gz
Fixed openresty location
-rw-r--r--PKGBUILD2
-rw-r--r--kong-community-edition.install1
2 files changed, 1 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 361acdc68d0e..1e7c391a64bf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -27,8 +27,6 @@ package(){
install -D -m644 "/opt/openresty/pod/nginx/license_copyright.pod" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -D -m644 "/opt/openresty/pod/nginx/license_copyright.pod" "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
- luarocks install kong 1.1.0-0
-
# # Fix openresty location
# cd usr/local/bin/
# sed -i "s+usr/local/openresty+opt/openresty+g" kong
diff --git a/kong-community-edition.install b/kong-community-edition.install
index d17bd4595856..598550c431d3 100644
--- a/kong-community-edition.install
+++ b/kong-community-edition.install
@@ -1,4 +1,5 @@
post_install() {
+ luarocks install kong 1.1.0-0
mkdir -p /etc/kong
mv /usr/lib/luarocks/rocks/kong/1.1.0-0/kong.conf.default /etc/kong/kong.conf.default