mirror of
https://github.com/telegramdesktop/tdesktop
synced 2024-12-17 03:44:41 +00:00
17 lines
612 B
Bash
Executable File
17 lines
612 B
Bash
Executable File
AppVersion=`./Version.sh | awk -F " " '{print $1}'`
|
|
AppVersionStr=`./Version.sh | awk -F " " '{print $2}'`
|
|
|
|
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/
|
|
|