From c0f60ac37aa897c6bb626f9c17427f0ac0f51608 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Tue, 6 Aug 2019 08:32:57 +0100 Subject: [PATCH] Ensture qutebrowser conf directory exists --- states/qutebrowser/init.sls | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/states/qutebrowser/init.sls b/states/qutebrowser/init.sls index 9f044ec..a511ddd 100644 --- a/states/qutebrowser/init.sls +++ b/states/qutebrowser/init.sls @@ -2,6 +2,13 @@ include: - qutebrowser.{{ grains['os'] | lower}} - local.bin +qute config dir: + file.directory: + - name: {{ grains['homedir'] }}/.config/qutebrowser + - user: {{ grains['user'] }} + - group: {{ grains['user'] }} + - mode: 750 + - makedirs: True userscripts dir: file.directory: @@ -60,3 +67,5 @@ qutebrowser config: - user: {{ grains['user'] }} - group: {{ grains['user'] }} - mode: 640 + - require: + - file: qute config dir -- 2.46.2