shell/install/telegram

14 lines
469 B
Bash
Executable File

#!/bin/bash
##makedesc: Install telegram (latest)
echo
echo "==============================================="
echo "Installing telegram (latest)..."
echo "==============================================="
echo
mkdir -p "${HOME}/install" "${HOME}/.local/bin"
wget "https://telegram.org/dl/desktop/linux" -O ${HOME}/install/telegram.tar.gz && \
tar -xJf ${HOME}/install/telegram.tar.gz -C ${HOME}/.local/bin
${HOME}/.local/bin/Telegram/Telegram & disown > /dev/null