From 57f60339d8c3d5e8548d5a3088e787503b6fdda6 Mon Sep 17 00:00:00 2001 From: inkch Date: Thu, 18 Jan 2024 21:27:20 +0900 Subject: [PATCH] Delete duplicated script (decrypt-private-key.sh) --- run_once_before_decrypt-private-key.sh.tmpl | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 run_once_before_decrypt-private-key.sh.tmpl diff --git a/run_once_before_decrypt-private-key.sh.tmpl b/run_once_before_decrypt-private-key.sh.tmpl deleted file mode 100644 index 9ba1588..0000000 --- a/run_once_before_decrypt-private-key.sh.tmpl +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -if [ ! -f "${HOME}/.config/chezmoi/key.txt" ]; then - mkdir -p "${HOME}/.config/chezmoi" - chezmoi age decrypt --output "${HOME}/.config/chezmoi/key.txt" --passphrase "{{ .chezmoi.sourceDir }}/.assets/key.txt.age" - chmod 600 "${HOME}/.config/chezmoi/key.txt" -fi