From 9cf85bce08b00c254652cfa929ed55ccafa6f8e5 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Sun, 19 May 2019 22:56:05 +0200
Subject: [PATCH] Import GPG keys, run notmuch new.

---
 buster/setup_scripts/setup_home_eeepc.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/buster/setup_scripts/setup_home_eeepc.sh b/buster/setup_scripts/setup_home_eeepc.sh
index a814886..1b54a56 100755
--- a/buster/setup_scripts/setup_home_eeepc.sh
+++ b/buster/setup_scripts/setup_home_eeepc.sh
@@ -40,6 +40,7 @@ cp id_rsa ~/.ssh
 stty -echo
 ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub
 stty echo
+gpg --import secret_keys.asc
 tar xf borg_keyfiles.tar
 mkdir -p "${borgkeys_dir}"
 mv borg_keyfiles/* "${borgkeys_dir}"
@@ -77,6 +78,7 @@ done
 mkdir -p "${maildir}"  # expected by mbsync/isync
 if [ -f "${HOME}/${authinfo_file}" ]; then
     mbsync -a
+    notmuch new
 fi
 
 # Final note on how to integrate tridactyl.
-- 
2.30.2