Update file run_before_01-decrypt-age-key.tmpl

This commit is contained in:
Brian Zalewski 2023-01-26 08:18:23 +00:00
parent 99ae5b97b6
commit 249fb5f1d8

View file

@ -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