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 22, 2020
1 parent 6ed09ad commit 62065b1
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions scripts.d/20_telegram_cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ sed -i "s/\-fPIC//" Makefile.in
sed -i "s/\-Werror //" Makefile.in
./configure
CXX=arm-linux-gnueabihf-g++ make
cp ./bin/telegram-cli /mnt/img_root/usr/local/bin/telegram-cli
mkdir -p /mnt/img_root/etc/telegram-cli
cp ./server.pub /mnt/img_root/etc/telegram-cli/server.pub
cd ../
rm -rf tg
cd .. || exit 1
cp tg/bin/telegram-cli mnt/img_root/usr/local/bin/telegram-cli
mkdir -p mnt/img_root/etc/telegram-cli
cp tg/server.pub mnt/img_root/etc/telegram-cli/server.pub

0 comments on commit 62065b1

Please sign in to comment.