Selaa lähdekoodia

Exclude files listed in yadm/encrypt when decrypt is called

Previously this would only happen when encrypting.
Tim Byrne 5 vuotta sitten
vanhempi
commit
69cde7f83c
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      yadm

+ 2 - 0
yadm

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