Files
docker-nginx-full/scripts/install-lua
T
2021-04-28 16:51:56 +10:00

23 lines
483 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/bin/bash -e
BLUE='\E[1;34m'
CYAN='\E[1;36m'
YELLOW='\E[1;33m'
GREEN='\E[1;32m'
RESET='\E[0m'
echo -e "${BLUE} ${CYAN}Installing Lua ${YELLOW}${LUA_VERSION}...${RESET}"
cd /tmp/lua
make install
rm -rf /tmp/lua
echo -e "${BLUE} ${GREEN}Lua install completed${RESET}"
echo -e "${BLUE} ${CYAN}Installing Luarocks ${YELLOW}${LUAROCKS_VERSION}...${RESET}"
cd /tmp/luarocks
make install
rm -rf /tmp/luarocks
echo -e "${BLUE} ${GREEN}Luarocks install completed${RESET}"