Update file run_before_01-decrypt-age-key.tmpl
This commit is contained in:
parent
99ae5b97b6
commit
249fb5f1d8
1 changed files with 0 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue