From 6377f59e23c3b9dcde036550e6ecf0702950af95 Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 17 Oct 2014 17:27:05 +0400 Subject: [PATCH] added linux deploy script to git --- Telegram/DeployLinux.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 Telegram/DeployLinux.sh diff --git a/Telegram/DeployLinux.sh b/Telegram/DeployLinux.sh new file mode 100755 index 0000000000..2629cc776b --- /dev/null +++ b/Telegram/DeployLinux.sh @@ -0,0 +1,16 @@ +AppVersionStr=0.6.3 +AppVersion=6003 + +if [ ! -f "./../Linux/Release/deploy/$AppVersionStr/tlinuxupd$AppVersion" ]; then + echo "tlinuxupd$AppVersion not found!"; + exit 1 +fi + +if [ ! -f "./../Linux/Release/deploy/$AppVersionStr/tsetup.$AppVersionStr.tar.xz" ]; then + echo "tsetup.$AppVersionStr.tar.xz not found!" + exit 1 +fi + +scp ./../Linux/Release/deploy/$AppVersionStr/tlinuxupd$AppVersion tupdates:tdesktop/static/tlinux/ +scp ./../Linux/Release/deploy/$AppVersionStr/tsetup.$AppVersionStr.tar.xz tupdates:tdesktop/static/tlinux/ +