cleanup
intsall fix attempts add pyenv path after install use https repository install apt-utils set FAST_MODE in bootstrap.sh keep truthy FAST_MODE variable source bashrc after linking clean up errors further install fixes further cleanup fix fisher install chmod +x install remove source bashrc from make
This commit is contained in:
8
install/03-ssh.sh
Normal file → Executable file
8
install/03-ssh.sh
Normal file → Executable file
@@ -6,9 +6,9 @@
|
||||
#
|
||||
|
||||
# 1. ssh key exists
|
||||
readonly ssh_target="$HOME/.ssh"
|
||||
readonly ssh_key="$ssh_target/id_rsa"
|
||||
readonly ssh_pub="$ssh_key.pub"
|
||||
ssh_target="$HOME/.ssh"
|
||||
ssh_key="$ssh_target/id_rsa"
|
||||
ssh_pub="$ssh_key.pub"
|
||||
if [ ! -f "$ssh_key" ]; then
|
||||
printf "generating ssh key...\n"
|
||||
ssh-keygen -t rsa -b 4096 -f "$ssh_key"
|
||||
@@ -16,7 +16,7 @@ fi
|
||||
printf "ssh key exists\n"
|
||||
|
||||
# 2. ssh dotfiles are symlinked
|
||||
readonly ssh_source="$dotfiles_dir/ssh"
|
||||
ssh_source="$dotfiles_dir/ssh"
|
||||
link_folder "$ssh_source" "$ssh_target"
|
||||
printf "ssh dotfiles are symlinked\n"
|
||||
cat "$ssh_pub"
|
||||
|
||||
Reference in New Issue
Block a user