summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Schild <henning@hennsch.de>2018-12-13 09:30:02 +0100
committerMikle Kolyada <zlogene@gentoo.org>2018-12-13 16:00:47 +0300
commita2c5d222662ac167e2a05403410c1f94b050284c (patch)
treef6565ab178a4c9ac87e1823e20e2234bd6cba803 /net-im/telegram-desktop-bin/files
parentwww-client/firefox: add version constraint on dev-util/cbindgen atom (diff)
downloadgentoo-a2c5d222662ac167e2a05403410c1f94b050284c.tar.gz
gentoo-a2c5d222662ac167e2a05403410c1f94b050284c.tar.bz2
gentoo-a2c5d222662ac167e2a05403410c1f94b050284c.zip
net-im/telegram-desktop-bin: Bump version to 1.5.1
Signed-off-by: Henning Schild <henning@hennsch.de> Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'net-im/telegram-desktop-bin/files')
-rw-r--r--net-im/telegram-desktop-bin/files/telegram-desktop-bin9
1 files changed, 9 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/files/telegram-desktop-bin b/net-im/telegram-desktop-bin/files/telegram-desktop-bin
new file mode 100644
index 000000000000..954b3bdeaea5
--- /dev/null
+++ b/net-im/telegram-desktop-bin/files/telegram-desktop-bin
@@ -0,0 +1,9 @@
+#!/bin/sh
+# this wrapper disables the auto-updater of telegram-desktop
+# This program is licensed under the same license as telegram-desktop
+
+# telegram-desktop fails to set RestartCommand with the session manager
+# exclude it from session management to prevent restarts without the argument
+unset SESSION_MANAGER
+
+exec /usr/lib/telegram-desktop-bin/Telegram -externalupdater $@