diff options
author | Giovanni Santini | 2015-07-20 09:42:12 +0200 |
---|---|---|
committer | Giovanni Santini | 2015-07-20 09:42:12 +0200 |
commit | 31bc64552c5378df1c436b74caeeaa3ca73bf9c7 (patch) | |
tree | e1c50207348f6d0ad81726af0b287e3819d6b9d5 /telegram-desktop-bin.install | |
parent | e6a8791a113f5c17dc8572be410e7232e7bdcc9a (diff) | |
download | aur-31bc64552c5378df1c436b74caeeaa3ca73bf9c7.tar.gz |
Some reworks for the PKGBUILD + a tweaked desktop file
Diffstat (limited to 'telegram-desktop-bin.install')
-rw-r--r-- | telegram-desktop-bin.install | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/telegram-desktop-bin.install b/telegram-desktop-bin.install index d49e64e89eb7..e5b7d581da45 100644 --- a/telegram-desktop-bin.install +++ b/telegram-desktop-bin.install @@ -1,17 +1,9 @@ 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" - + [ ! -z `which update-desktop-database` ]&& update-desktop-database -q } post_remove() { - echo "You can remove old data from a terminl doing:" - echo "rm -r ~/.local/share/applications/telegramdesktop.desktop" - echo "rm -r ~/.TelegramDesktop" + echo "You can remove old data from a terminl doing:" + echo "rm -r ~/.TelegramDesktop" } - -# vim: ts=2 sw=2 et: |