added linux deploy script to git

This commit is contained in:
John Preston 2014-10-17 17:27:48 +04:00
parent 6377f59e23
commit 87d795807d
1 changed files with 16 additions and 0 deletions

16
Telegram/DeployLinux32.sh Executable file
View File

@ -0,0 +1,16 @@
AppVersionStr=0.6.3
AppVersion=6003
if [ ! -f "./../Linux/Release/deploy/$AppVersionStr/tlinux32upd$AppVersion" ]; then
echo "tlinux32upd$AppVersion not found!"
exit 1
fi
if [ ! -f "./../Linux/Release/deploy/$AppVersionStr/tsetup32.$AppVersionStr.tar.xz" ]; then
echo "tsetup32.$AppVersionStr.zip not found!"
exit 1
fi
scp ./../Linux/Release/deploy/$AppVersionStr/tlinux32upd$AppVersion tupdates:tdesktop/static/tlinux32/
scp ./../Linux/Release/deploy/$AppVersionStr/tsetup32.$AppVersionStr.tar.xz tupdates:tdesktop/static/tlinux32/