Commit 2c5dcf1d authored by omar's avatar omar
Browse files

escript para bajar telegram

parent e89d9682
#!/bin/bash
arq=$(uname -m)
arch=$(uname -m | cut -b3-4)
telegram=/tmp/telegram_V.tar.xz
#echo ${arch}
#Descaga la versión mas reciente de Telegram directo del sitio
if [[ ${arch} -eq "86" ]]; then
echo Se descargará Telegram Desktop para 32 bits \(la arquitectura de éste equipo es "$arq"\)
wget -O $telegram https://tdesktop.com/linux32
elif [[ ${arch} -eq "64" ]]; then
echo Se descargará Telegram Desktop para 64 bits \(la arquitectura de éste equipo es "$arq"\)
wget -O $telegram https://tdesktop.com/linux
else
echo error
exit
fi
tar xvf /
exit
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment