From e9abe574b85939e7ae69e668891efa14aac6462d Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Fri, 10 Mar 2023 00:05:49 +0100 Subject: [PATCH] updated sublimetext state --- states/sublimetext/install.sls | 4 ++-- states/sublimetext/{ => templates}/sublime_text.desktop.j2 | 2 +- states/sublimetext/{ => templates}/sublime_text_keys.txt.j2 | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename states/sublimetext/{ => templates}/sublime_text.desktop.j2 (97%) rename states/sublimetext/{ => templates}/sublime_text_keys.txt.j2 (100%) diff --git a/states/sublimetext/install.sls b/states/sublimetext/install.sls index c6a3d28..33c8d8f 100644 --- a/states/sublimetext/install.sls +++ b/states/sublimetext/install.sls @@ -36,7 +36,7 @@ sublimetext-binary-symlink: sublimetext-licence-key: file.managed: - name: {{ sublimetext.install_dir }}/{{ sublimetext.install_subdir }}_{{ sublimetext.version }}/{{ sublimetext.keys_file }} - - source: salt://sublimetext/{{ sublimetext.keys_file }}.j2 + - source: salt://sublimetext/templates/{{ sublimetext.keys_file }}.j2 - template: jinja - user: root - group: root @@ -47,7 +47,7 @@ sublimetext-licence-key: sublimetext-desktop-entry: file.managed: - name: /usr/share/applications/sublime_text.desktop - - source: salt://sublimetext/sublime_text.desktop.j2 + - source: salt://sublimetext/templates/sublime_text.desktop.j2 - template: jinja - user: root - group: root diff --git a/states/sublimetext/sublime_text.desktop.j2 b/states/sublimetext/templates/sublime_text.desktop.j2 similarity index 97% rename from states/sublimetext/sublime_text.desktop.j2 rename to states/sublimetext/templates/sublime_text.desktop.j2 index 5271eca..6b2ca4f 100644 --- a/states/sublimetext/sublime_text.desktop.j2 +++ b/states/sublimetext/templates/sublime_text.desktop.j2 @@ -21,4 +21,4 @@ OnlyShowIn=Unity; [Desktop Action Document] Name=New File Exec={{ sublimetext.install_dir }}/{{ sublimetext.install_subdir }}/sublime_text --command new_file -OnlyShowIn=Unity; \ No newline at end of file +OnlyShowIn=Unity; diff --git a/states/sublimetext/sublime_text_keys.txt.j2 b/states/sublimetext/templates/sublime_text_keys.txt.j2 similarity index 100% rename from states/sublimetext/sublime_text_keys.txt.j2 rename to states/sublimetext/templates/sublime_text_keys.txt.j2