5762e12a48
Switched to drua-tg.lua. Groups are now listed according to most recent activity. whoami.lua: Displays channel/supergroup IDs properly.
15 lines
636 B
Bash
Executable File
15 lines
636 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Will download lua-tg and will download and build tg's "test" branch.
|
|
# Written for Ubuntu/Debian. If you're running Arch (the only acceptable
|
|
# alternative), figure it out yourself.
|
|
|
|
echo 'Requesting root privileges to install necessary packages:'
|
|
echo 'libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev libjansson-dev libpython-dev make'
|
|
sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev libjansson-dev libpython-dev make
|
|
git clone http://github.com/topkecleon/drua-tg
|
|
git clone http://github.com/vysheng/tg --recursive -b test
|
|
cd tg
|
|
./configure
|
|
make
|