my-env/install/telegram

14 lines
469 B
Plaintext
Raw Normal View History

2023-04-11 15:47:43 +00:00
#!/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