home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix broken setup script.
[config]
/
buster
/
setup_scripts
/
setup_home.sh
diff --git
a/buster/setup_scripts/setup_home.sh
b/buster/setup_scripts/setup_home.sh
index 4bd06efa8e300e518544ab891a375618002fd8d1..24f4c672214f214293a85864bf3caefe19f47e0a 100755
(executable)
--- a/
buster/setup_scripts/setup_home.sh
+++ b/
buster/setup_scripts/setup_home.sh
@@
-5,7
+5,7
@@
if [ "$#" -ne 1 ]; then
echo 'Need exactly one argument (system name).'
false
fi
echo 'Need exactly one argument (system name).'
false
fi
-if [ ! "$1" = "eeepc" ] && [ ! "$1" = "x200s" ]; then
+if [ ! "$1" = "eeepc" ] && [ ! "$1" = "x200s" ]
&& [ ! "$1" = "x220" ]
; then
echo "Need legal system name."
false
fi
echo "Need legal system name."
false
fi
@@
-28,7
+28,7
@@
ensure_repo() {
repo_name="${1}"
if [ ! -d "${public_repos_dir}/${repo_name}" ]; then
cd "${public_repos_dir}"
repo_name="${1}"
if [ ! -d "${public_repos_dir}/${repo_name}" ]; then
cd "${public_repos_dir}"
- git clone plom@plomlompom.com:/var/
public_
repos/${repo_name}
+ git clone plom@plomlompom.com:/var/repos/${repo_name}
fi
}
fi
}
@@
-52,7
+52,8
@@
cd "${setup_scripts_dir}"
./copy_dirtree.sh "${config_tree_buster}/home_files" "${HOME}" minimal user "${system_name}"
# Set up native messenger for tridactyl.
./copy_dirtree.sh "${config_tree_buster}/home_files" "${HOME}" minimal user "${system_name}"
# Set up native messenger for tridactyl.
-curl -fsSl https://raw.githubusercontent.com/tridactyl/tridactyl/78e662efefd1f4af2bdb2a53edecf03b535b997b/native/install.sh | bash
+version='ef9f02d0da258f68d7faf8898707f6d83d90d07a'
+curl -fsSl "https://raw.githubusercontent.com/tridactyl/tridactyl/${version}/native/install.sh" | bash
# Set up further non-public parts of infrastructure.
cd "${dir_secrets}"
# Set up further non-public parts of infrastructure.
cd "${dir_secrets}"