Selaa lähdekoodia

Delete email marked for deletion when syncing

Colin Powell 5 vuotta sitten
vanhempi
commit
b77d5e4786
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      systemd/.config/systemd/user/syncmail.sh

+ 2 - 0
systemd/.config/systemd/user/syncmail.sh

@@ -4,6 +4,8 @@ STATE=`nmcli networking connectivity`
 
 
 if [ $STATE = 'full' ]
 if [ $STATE = 'full' ]
 then
 then
+        notmuch search --output=files tag:deleted | xargs -l rm	
+	notmuch new
 	muchsync rhea.unbl.ink
 	muchsync rhea.unbl.ink
 	exit 0
 	exit 0
 fi
 fi