Skip to content

Commit

Permalink
feat: /usr/bin/{openresty,resty} (openresty#50)
Browse files Browse the repository at this point in the history
package /usr/bin/{openresty,resty}
  • Loading branch information
tzssangglass authored Jun 11, 2021
1 parent 55bc7cc commit 91acbd9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ package-apisix-openresty-rpm:
-d 'openresty-zlib >= 1.2.11-3' \
-d 'openresty-openssl111 >= 1.1.1h-1' \
-d 'openresty-pcre >= 8.44-1' \
--post-install ${PWD}/post-install-apisix-openresty.sh \
--description "APISIX's OpenResty distribution." \
--license "ASL 2.0" \
-C ${PWD}/build/rpm \
Expand Down
3 changes: 3 additions & 0 deletions post-install-apisix-openresty.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
ln -sf /usr/local/openresty/bin/resty /usr/bin/resty
ln -sf /usr/local/openresty/bin/openresty /usr/bin/openresty

0 comments on commit 91acbd9

Please sign in to comment.