diff --git a/home/.chezmoiscripts/universal/run_before_01-decrypt-age-key.tmpl b/home/.chezmoiscripts/universal/run_before_01-decrypt-age-key.tmpl index 61b763db..3e5d2c89 100644 --- a/home/.chezmoiscripts/universal/run_before_01-decrypt-age-key.tmpl +++ b/home/.chezmoiscripts/universal/run_before_01-decrypt-age-key.tmpl @@ -16,12 +16,6 @@ if [ ! -f "${XDG_CONFIG_HOME}/age/chezmoi.txt" ]; then logg info "Removing $ENCRYPTED_FILE" rm -f "$ENCRYPTED_FILE" done - else - logg info 'Removing files used when an encryption key is not configured' - find "$HOME/.local/share/chezmoi" -type f -name "encrypted-fallback_*" | while read UNENCRYPTED_FILE; do - logg info "Removing $UNENCRYPTED_FILE" - rm -f "$UNENCRYPTED_FILE" - done fi fi