diff options
author | Goran Nushkov | 2019-04-06 02:10:54 +0200 |
---|---|---|
committer | Goran Nushkov | 2019-04-06 02:10:54 +0200 |
commit | de42428d92f09e46f03ca5fbf6acdb0026e5395c (patch) | |
tree | 85bc5dfcb8c43581281eda0d3ba17eefec88fa28 /PKGBUILD | |
parent | 1db431ccef3daa118b91c7fe91cb9132d45c1d59 (diff) | |
download | aur-de42428d92f09e46f03ca5fbf6acdb0026e5395c.tar.gz |
Fixed openresty location
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -28,10 +28,8 @@ package(){ install -D -m644 "/opt/openresty/pod/nginx/license_copyright.pod" "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT" # Fix openresty location - cd "usr/local/bin/" - sed "s:usr/local:opt:" kong > kongs - rm kong - mv kongs kong + cd usr/local/bin/ + sed -i "s:usr/local:opt:" kong cd "${pkgdir}" mkdir usr/bin 2> /dev/null; mv usr/local/bin/* usr/bin; rm -rf usr/local/bin |