Skip to content

Commit 974498b

Browse files
authored
Update 20_telegram_cli.sh
1 parent aaf886d commit 974498b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

scripts.d/20_telegram_cli.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22

33
git clone https://github.com/vysheng/tg --recursive
44
cd tg || exit 1
5-
sed -i '116d' ./tgl/mtproto-utils.c
6-
sed -i '105d' ./tgl/mtproto-utils.c
5+
sed -i '107d' ./tgl/mtproto-utils.c
6+
sed -i '101d' ./tgl/mtproto-utils.c
7+
sed -i "s/\-rdynamic //" Makefile.in
8+
sed -i "s/\-fPIC //" Makefile.in
9+
sed -i "s/\-Werror //" Makefile.in
710
./configure
811
make || exit 1
912
cp ./bin/telegram-cli /mnt/img_root/usr/local/bin/telegram-cli

0 commit comments

Comments
 (0)