Exclude files listed in yadm/encrypt when decrypt is called

Previously this would only happen when encrypting.
This commit is contained in:
Tim Byrne 2020-01-15 08:17:27 -06:00
parent bd68229c57
commit 69cde7f83c
No known key found for this signature in database
GPG Key ID: 14DB4FC2465A4B12
1 changed files with 2 additions and 0 deletions

2
yadm
View File

@ -860,6 +860,8 @@ function decrypt() {
require_gpg
require_archive
[ -f "$YADM_ENCRYPT" ] && exclude_encrypted
if [ "$DO_LIST" = "YES" ] ; then
tar_option="t"
else