X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=sidebyside;f=bin%2Fsymlink.sh;h=d653a0b9d01001957dd8be53002ff1c0110afe46;hb=f1cc34687ca22a7c2054486d7b02bdfab478a95e;hp=49a1161408c78f6cfc9762a3de97a409080e0661;hpb=a6ea23c10570e9f82472212c4e566596fcb0b803;p=config
diff --git a/bin/symlink.sh b/bin/symlink.sh
index 49a1161..d653a0b 100755
--- a/bin/symlink.sh
+++ b/bin/symlink.sh
@@ -8,11 +8,11 @@ dir_user_prefix=~/config/dotfiles/user
dir_user_minimal=$dir_user_prefix/minimal
dir_user_machine=$dir_user_prefix/$1/minimal
if [ "$3" = "" ]; then
- dir_user_variety=$dir_user_machine/$2
+ dir_user_variety=$dir_user_prefix/$1/$2
else
- dir_user_variety=$dir_user_machine/$2/minimal
+ dir_user_variety=$dir_user_prefix/$1/$2/minimal
fi
-dir_user_subvariety=$dir_user_variety/$3
+dir_user_subvariety=$dir_user_prefix/$1/$2/$3
dir_root=~/config/dotfiles/root
homedir=`echo ~`
find ~ -lname $homedir'/config/*' -delete