~ashn/setup

fec81b7dbcdfd30dd527ecc069aaa576233b4ea9 — ashn 2 months ago 5fb9a38
Move lua-related setup to one shell script
2 files changed, 4 insertions(+), 3 deletions(-)

M setup-apt-packages.sh
R setup-luarocks.sh => setup-lua.sh
M setup-apt-packages.sh => setup-apt-packages.sh +0 -3
@@ 27,8 27,6 @@ apt-get -y install gcc
apt-get -y install g++
apt-get -y install gdb
apt-get -y install llvm
apt-get -y install lua5.3
apt-get -y install luajit
apt-get -y install musl-tools # musl-gcc
apt-get -y install python
apt-get -y install python3


@@ 71,7 69,6 @@ apt-get -y install xdotool # X11 CLI keyboard and mouse control.

# Libs
apt-get -y install libgmp-dev
apt-get -y install liblua5.3-dev

# GUI
apt-get -y install pavucontrol # PulseAudio Volume Control.

R setup-luarocks.sh => setup-lua.sh +4 -0
@@ 1,6 1,10 @@
#!/bin/sh
[ "$(id -u)" != "0" ] && echo 'MUST RUN AS ROOT' && exit 1

apt-get -y install lua5.3
apt-get -y install luajit
apt-get -y install liblua5.3-dev

LUAROCKS=luarocks-3.3.0

wget "https://luarocks.org/releases/${LUAROCKS}.tar.gz"