summarylogtreecommitdiffstats
path: root/telegram-desktop.install
blob: d49e64e89eb790869a837b8a51b928c18b42b49e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
post_install() {

      echo "Start from the console at the first run (using "telegram") to generate the .desktop file."
      echo "After Update start Telegram with "/opt/telegram/Telegram" to get TelegramDesktop"
      echo "If you see no destkop launcher after update, you can fix it by using"
      echo "sed 's/Exec=-- %u/Exec=telegram -- %u/' -i ~/.local/share/applications/telegramdesktop.desktop"
      
}

post_remove()
{
      echo "You can remove old data from a terminl doing:"
      echo "rm -r ~/.local/share/applications/telegramdesktop.desktop"
      echo "rm -r ~/.TelegramDesktop"
}

# vim: ts=2 sw=2 et: