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