X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=bookworm%2Fsetup_scripts%2Fsetup_home.sh;h=6467ef9a166a5419cc110c2ea6d4084f919eb3dd;hb=174acd1989d140882900b51dac88a54283e0333f;hp=55707fd31c36456c3c4e6965981c3b98edb9566b;hpb=755eecf8b78a8336c12bb11f57ebf0eccd3b32c8;p=config
diff --git a/bookworm/setup_scripts/setup_home.sh b/bookworm/setup_scripts/setup_home.sh
index 55707fd..6467ef9 100755
--- a/bookworm/setup_scripts/setup_home.sh
+++ b/bookworm/setup_scripts/setup_home.sh
@@ -1,6 +1,6 @@
#!/bin/sh
set -e
-set -x
+. ./misc.sh
expect_n_args 1 "(system name)" "$@"
get_system_name_arg "$1"
@@ -56,6 +56,10 @@ cat "${repos_list_file}" | while read line; do
fi
done
+# Remove redundant config repo copy.
+config_tree_prefix="${public_repos_dir}/config/${debian_version}"
+rm -rf ~/config
+
# # Set up native messenger for tridactyl.
# version='ef9f02d0da258f68d7faf8898707f6d83d90d07a'
# curl -fsSl "https://raw.githubusercontent.com/tridactyl/tridactyl/${version}/native/install.sh" | bash
@@ -90,8 +94,6 @@ if [ -f "${authinfo_file}" ]; then
fi
cd
-# rm -rf "${dir_secrets}"
-
maildir=~/mail/maildir
# # Set up e-mail system. Note that we only do mbsync if the imap pass file
# # is found. It may not be present on every secrets drive yet, so we have to