5 dir_user_minimal=~/config/dotfiles_user_minimal
6 dir_user_thinkpad=~/config/dotfiles_user_thinkpad
7 dir_root=~/config/dotfiles_root
9 find ~ -lname $homedir'/config/*' -delete
10 for file in `ls $dir_user_minimal`; do
11 ln -fs $dir_user_minimal/$file ~/.$file
13 if [ "$1" = "thinkpad" ]; then
14 for file in `ls $dir_user_thinkpad`; do
15 ln -fs $dir_user_thinkpad/$file ~/.$file
18 if [ "$(id -u)" -eq "0" ]; then
19 for file in `ls $dir_root`; do
20 ln -fs $dir_root/$file ~/.$file