final script changes
This commit is contained in:
parent
bfc55b6254
commit
8ad9b2aa78
@ -4,16 +4,18 @@
|
||||
|
||||
#!/bin/sh
|
||||
|
||||
echo "This script is intended for Ubuntu 16.04 and later. It will not work in 14.04 or earlier."
|
||||
echo "This script is intended for Ubuntu 16.04 and later. It will not work in"
|
||||
echo "14.04 or earlier."
|
||||
echo "This script will request root privileges to install the following packages:"
|
||||
echo "lua5.3 liblua5.3-dev git libssl-dev fortune-mod fortunes"
|
||||
echo "It will also request root privileges to install Luarocks to to /usr/local/ along with the following rocks:"
|
||||
echo "lua5.3 liblua5.3-dev git libssl-dev fortune-mod fortunes unzip"
|
||||
echo "It will also request root privileges to install Luarocks to to /usr/local/"
|
||||
echo "along with the following rocks:"
|
||||
echo "luasocket luasec multipart-post lpeg dkjson"
|
||||
echo "Press enter to continue. Use Ctrl-C to exit."
|
||||
read
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y lua5.3 liblua5.3-dev git libssl-dev fortune-mod fortunes
|
||||
sudo apt-get install -y lua5.3 liblua5.3-dev git libssl-dev fortune-mod fortunes unzip
|
||||
git clone http://github.com/keplerproject/luarocks
|
||||
cd luarocks
|
||||
./configure --lua-version=5.3 --versioned-rocks-dir --lua-suffix=5.3
|
||||
@ -24,6 +26,7 @@ sudo luarocks-5.3 install luasec
|
||||
sudo luarocks-5.3 install multipart-post
|
||||
sudo luarocks-5.3 install lpeg
|
||||
sudo luarocks-5.3 install dkjson
|
||||
sudo -k
|
||||
cd ..
|
||||
|
||||
echo "Finished. Use ./launch to start otouto."
|
||||
|
@ -2,7 +2,8 @@
|
||||
|
||||
#!/bin/sh
|
||||
|
||||
echo "This script is intended for Ubuntu 16.04 and later. It will probably work on 14.04 or 12.04 as well as Debian, but this is not guaranteed."
|
||||
echo "This script is intended for Ubuntu 16.04 and later. It will probably work on"
|
||||
echo "14.04 or 12.04 as well as Debian, but this is not guaranteed."
|
||||
echo "This script will request root privileges to install the following packages:"
|
||||
echo "git libreadline-dev libssl-dev libevent-dev make"
|
||||
echo "Press enter to continue. Use Ctrl-C to exit."
|
||||
@ -10,6 +11,7 @@ read
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y git libreadline-dev libssl-dev libevent-dev make
|
||||
sudo -k
|
||||
git clone http://github.com/vysheng/tg --recursive -b test
|
||||
cd tg
|
||||
./configure --disable-libconfig --disable-liblua --disable-json
|
||||
|
Reference in New Issue
Block a user