Delete duplicated script (decrypt-private-key.sh)
This commit is contained in:
parent
94cefa091a
commit
57f60339d8
@ -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
|
|
Loading…
Reference in New Issue
Block a user