From: Christian Heller <c.heller@plomlompom.de>
Date: Sun, 19 May 2019 20:56:05 +0000 (+0200)
Subject: Import GPG keys, run notmuch new.
X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%7B%7B%20web_path%20%7D%7D/static/do_day?a=commitdiff_plain;h=9cf85bce08b00c254652cfa929ed55ccafa6f8e5;p=config

Import GPG keys, run notmuch new.
---

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.