Skip to content

Commit 91acbd9

Browse files
authored
feat: /usr/bin/{openresty,resty} (#50)
package /usr/bin/{openresty,resty}
1 parent 55bc7cc commit 91acbd9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ package-apisix-openresty-rpm:
100100
-d 'openresty-zlib >= 1.2.11-3' \
101101
-d 'openresty-openssl111 >= 1.1.1h-1' \
102102
-d 'openresty-pcre >= 8.44-1' \
103+
--post-install ${PWD}/post-install-apisix-openresty.sh \
103104
--description "APISIX's OpenResty distribution." \
104105
--license "ASL 2.0" \
105106
-C ${PWD}/build/rpm \

post-install-apisix-openresty.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
ln -sf /usr/local/openresty/bin/resty /usr/bin/resty
3+
ln -sf /usr/local/openresty/bin/openresty /usr/bin/openresty

0 commit comments

Comments
 (0)