We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e86a35 commit 22713ffCopy full SHA for 22713ff
scripts.d/20_telegram_cli.sh
@@ -10,8 +10,7 @@ sed -i "s/\-fPIC//" Makefile.in
10
sed -i "s/\-Werror //" Makefile.in
11
./configure
12
CXX=arm-linux-gnueabihf-g++ make
13
-cp ./bin/telegram-cli /mnt/img_root/usr/local/bin/telegram-cli
14
-mkdir -p /mnt/img_root/etc/telegram-cli
15
-cp ./server.pub /mnt/img_root/etc/telegram-cli/server.pub
16
-cd ../
17
-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 commit comments