From 4cee287b52872adfdf9476cb222ea2380fde899b Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Fri, 10 Mar 2023 00:08:05 +0100 Subject: [PATCH] updated telegram state --- states/telegram/install.sls | 4 ++-- states/telegram/{ => templates}/telegram.desktop.j2 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename states/telegram/{ => templates}/telegram.desktop.j2 (91%) diff --git a/states/telegram/install.sls b/states/telegram/install.sls index 8d58793..cf17151 100644 --- a/states/telegram/install.sls +++ b/states/telegram/install.sls @@ -40,7 +40,7 @@ telegram-icon: telegram-shortcut: file.managed: - name: /usr/share/applications/telegram.desktop - - source: salt://telegram/telegram.desktop.j2 + - source: salt://telegram/templates/telegram.desktop.j2 - user: root - group: root - mode: 644 @@ -52,4 +52,4 @@ telegram-cleanup: software.cleanup: - name: telegram - path: {{ telegram.release_dir }} - - version: "{{ telegram.version }}" \ No newline at end of file + - version: "{{ telegram.version }}" diff --git a/states/telegram/telegram.desktop.j2 b/states/telegram/templates/telegram.desktop.j2 similarity index 91% rename from states/telegram/telegram.desktop.j2 rename to states/telegram/templates/telegram.desktop.j2 index 02b380c..b736807 100644 --- a/states/telegram/telegram.desktop.j2 +++ b/states/telegram/templates/telegram.desktop.j2 @@ -12,4 +12,4 @@ StartupWMClass=Telegram Type=Application Categories=Network; MimeType=x-scheme-handler/tg; -X-Desktop-File-Install-Version=0.22 \ No newline at end of file +X-Desktop-File-Install-Version=0.22