22 lines
816 B
Bash
Executable File
22 lines
816 B
Bash
Executable File
AppVersion=`./Version.sh | awk -F " " '{print $1}'`
|
|
AppVersionStr=`./Version.sh | awk -F " " '{print $2}'`
|
|
DevChannel=`./Version.sh | awk -F " " '{print $3}'`
|
|
DevPostfix=''
|
|
if [ "$DevChannel" != "0" ]; then
|
|
DevPostfix='.dev'
|
|
fi
|
|
|
|
if [ ! -f "./../Linux/Release/deploy/$AppVersionStr$DevPostfix/tlinux32upd$AppVersion" ]; then
|
|
echo "tlinux32upd$AppVersion not found!"
|
|
exit 1
|
|
fi
|
|
|
|
if [ ! -f "./../Linux/Release/deploy/$AppVersionStr$DevPostfix/tsetup32.$AppVersionStr$DevPostfix.tar.xz" ]; then
|
|
echo "tsetup32.$AppVersionStr$DevPostfix.zip not found!"
|
|
exit 1
|
|
fi
|
|
|
|
scp ./../Linux/Release/deploy/$AppVersionStr$DevPostfix/tlinux32upd$AppVersion tmaster:tdesktop/www/tlinux32/
|
|
scp ./../Linux/Release/deploy/$AppVersionStr$DevPostfix/tsetup32.$AppVersionStr$DevPostfix.tar.xz tmaster:tdesktop/www/tlinux32/
|
|
|