File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ INSTALL_PACKAGES=(
1919 rng-tools # for ap bridge
2020 tor=0.3.5.10-1 # TODO bring back to upstream
2121 openvpn
22- libreadline-dev libconfig-dev lua5.2 liblua5.2-dev libevent-dev libjansson-dev libpython-dev libssl1.0 -dev # telegram-cli
22+ libreadline-dev libconfig-dev lua5.2 liblua5.2-dev libevent-dev libjansson-dev libpython-dev libssl-dev libgcrypt20 -dev # telegram-cli
2323 shadowsocks-libev proxychains4 # socks5 proxy
2424 libpam-google-authenticator # two factor authentication
2525 jq # for parsing json / treehouses command
Original file line number Diff line number Diff line change 22
33git clone https://github.com/vysheng/tg --recursive
44cd tg
5- sed ' 116d' ./tgl/mtproto-utils.c
6- sed ' 105d' ./tgl/mtproto-utils.c
5+ sed -i ' 116d' ./tgl/mtproto-utils.c
6+ sed -i ' 105d' ./tgl/mtproto-utils.c
77./configure
88make
99cp ./bin/telegram-cli /mnt/img_root/usr/local/bin/telegram-cli
10+ mkdir -p /mnt/img_root/etc/telegram-cli
11+ cp ./server.pub /mnt/img_root/etc/telegram-cli/server.pub
1012cd ../
1113rm -rf tg
You can’t perform that action at this time.
0 commit comments