From 6645bbb04e4d12890d98f6ec6963b564de353f80 Mon Sep 17 00:00:00 2001 From: kwanhur Date: Thu, 10 Mar 2022 10:24:10 +0800 Subject: [PATCH] build: rm luarocks tar file behind successful installation (#6306) Co-authored-by: leslie <59061168+leslie-tsang@users.noreply.github.com> --- utils/linux-install-luarocks.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/linux-install-luarocks.sh b/utils/linux-install-luarocks.sh index f0e9a8ed..be738ce4 100755 --- a/utils/linux-install-luarocks.sh +++ b/utils/linux-install-luarocks.sh @@ -25,6 +25,7 @@ fi LUAROCKS_VER=3.8.0 wget https://github.com/luarocks/luarocks/archive/v"$LUAROCKS_VER".tar.gz tar -xf v"$LUAROCKS_VER".tar.gz +rm -f v"$LUAROCKS_VER".tar.gz cd luarocks-"$LUAROCKS_VER" || exit OR_BIN="$OPENRESTY_PREFIX/bin/openresty"