4 public_repos_dir="${HOME}/public_repos"
5 config_tree_prefix="${public_repos_dir}/config"
6 path_borgscript="${config_tree_prefix}/all_new_2018/borg.sh"
7 config_tree_buster="${config_tree_prefix}/buster"
8 setup_scripts_dir="${config_tree_buster}/setup_scripts"
9 repos_list_file="${public_repos_dir}/repos"
10 dir_secrets="${HOME}/tmp_secrets"
11 borgkeys_dir=~/.config/borg/keys
16 if [ ! -d "${public_repos_dir}/${repo_name}" ]; then
17 cd "${public_repos_dir}"
18 git clone https://plomlompom.com/repos/clone/${repo_name}
23 mkdir -p "${public_repos_dir}"
25 cd "${setup_scripts_dir}"
26 ./copy_dirtree.sh "${config_tree_buster}/home_files" "${HOME}" minimal user_eeepc
27 curl -fsSl https://raw.githubusercontent.com/tridactyl/tridactyl/78e662efefd1f4af2bdb2a53edecf03b535b997b/native/install.sh | bash
31 echo "Setting up .ssh"
34 ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub
36 tar xf borg_keyfiles.tar
37 mkdir -p "${borgkeys_dir}"
38 mv borg_keyfiles/* "${borgkeys_dir}"
40 rm -rf "${dir_secrets}"
42 "${path_borgscript}" orgpull
43 cat "${repos_list_file}" | while read line; do
46 echo "TODO: As tridactyl user, don't forget to do :source on the first Firefox run and then re-start."