Skip to content

Commit

Permalink
Update 20_telegram_cli.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
darthnoward authored Aug 8, 2020
1 parent aaf886d commit 974498b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts.d/20_telegram_cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@

git clone https://github.com/vysheng/tg --recursive
cd tg || exit 1
sed -i '116d' ./tgl/mtproto-utils.c
sed -i '105d' ./tgl/mtproto-utils.c
sed -i '107d' ./tgl/mtproto-utils.c
sed -i '101d' ./tgl/mtproto-utils.c
sed -i "s/\-rdynamic //" Makefile.in
sed -i "s/\-fPIC //" Makefile.in
sed -i "s/\-Werror //" Makefile.in
./configure
make || exit 1
cp ./bin/telegram-cli /mnt/img_root/usr/local/bin/telegram-cli
Expand Down

0 comments on commit 974498b

Please sign in to comment.