X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=bookworm%2Fsetup_scripts%2Fsetup_home.sh;h=6467ef9a166a5419cc110c2ea6d4084f919eb3dd;hb=27b66e55c2dadbe3f1014aaf20949a16273efeed;hp=a2c65da8f5f919f1480cd4b4286b10a1677894d4;hpb=5f8840a7eed21f8601ce5055e0e605c98f06d0d2;p=config
diff --git a/bookworm/setup_scripts/setup_home.sh b/bookworm/setup_scripts/setup_home.sh
index a2c65da..6467ef9 100755
--- a/bookworm/setup_scripts/setup_home.sh
+++ b/bookworm/setup_scripts/setup_home.sh
@@ -1,12 +1,10 @@
#!/bin/sh
set -e
-debian_version="bookworm"
. ./misc.sh
expect_n_args 1 "(system name)" "$@"
get_system_name_arg "$1"
-git clone https://plomlompom.com/repos/clone/config
cd $setup_scripts_dir
./copy_dirtree.sh "${config_tree_prefix}/home_files" "${HOME}" minimal user "${system_name}"
@@ -58,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
@@ -92,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