diff options
Diffstat (limited to 'net-im/telegram-desktop-bin/files')
-rw-r--r-- | net-im/telegram-desktop-bin/files/telegram-desktop-bin-r1 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/files/telegram-desktop-bin-r1 b/net-im/telegram-desktop-bin/files/telegram-desktop-bin-r1 new file mode 100644 index 000000000000..954b3bdeaea5 --- /dev/null +++ b/net-im/telegram-desktop-bin/files/telegram-desktop-bin-r1 @@ -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 $@ |