home · contact · privacy
More scripts fixing.
[config] / buster / setup_scripts / setup_home_eeepc.sh
index 03bc853e7f63f4d0dd858dd294418545ef928f70..4e5dbcf701ead735c09a2eaa347ee4aa420af1fa 100755 (executable)
@@ -1,11 +1,17 @@
 #!/bin/sh
 set -e
 
+public_repos_dir="${HOME}/public_repos"
+config_tree_prefix="${public_repos_dir}/config/buster"
+setup_scripts_dir="${config_tree_prefix}/setup_scripts"
+
 cd
-public_repos_dir=~/public_repos
 mkdir -p "${public_repos_dir}"
-if [ ! -d "/home/plom/${public_repos_dir}/config" ]; then
+if [ ! -d "${HOME}/${public_repos_dir}/config" ]; then
     cd "${public_repos_dir}"
     git clone https://plomlompom.com/repos/clone/config
+fi
+cd "${setup_scripts_dir}"
+./copy_dirtree.sh "${config_tree_prefix}/home_files" "${HOME}" minimal user_eeepc
 curl -fsSl https://raw.githubusercontent.com/tridactyl/tridactyl/78e662efefd1f4af2bdb2a53edecf03b535b997b/native/install.sh | bash
 echo "As tridactyl user, don't forget to do :source on the first Firefox run and then re-start."