2 # [[file:readme.org::*fixups][fixups:2]]
3 # Can't just assume home in the current directory.
6 # [[file:~/.etc/readme.org::*fixups][hostspecific]]
9 if [ ! -e "${1}" ]; then
10 if [ -e "${1}.$(hostname)" ]; then
11 ln -sf "$(basename ${1}).$(hostname)" "${1}"
12 elif [ -e "${1}.general" ]; then
13 ln -sf "$(basename ${1}).general" "${1}"
17 # hostspecific ends here
19 if ! [ -d .
ssh ]; then
24 hostspecific .ssh
/authorized_keys
26 if [ -e .ssh
/authorized_keys
]; then
27 chmod 600 .ssh
/authorized_keys
30 hostspecific .etc
/.offlineimaprc
32 # need to have proper email
33 hostspecific .etc
/.gitconfig
35 hostspecific .etc
/.forward