home · contact · privacy
Improve w530 bookworm setup.
[config] / bookworm / setup_scripts / setup_home.sh
index a2c65da8f5f919f1480cd4b4286b10a1677894d4..8a8b26512c1515e26cc4f62b2280e58753bc071c 100755 (executable)
@@ -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