- elif [ -d "$inhome" ] && [ -d "$dot" ]; then
- needs dirimport "directory here not yet symlinked"
- $act mv "$dot" "$dot~"
- $act ln -s "$basepath/$dot" "$inhome"~
- $act mv "$inhome" "$dot"
+ elif [ -d "$inhome" ] && [ -d "$ours" ]; then
+ needs dirimport "directory in this ~, not yet symlinked"
+ $act mv "$ours" "$ours~"
+ $act ln -s "$linktarget" "$inhome"~
+ $act mv "$inhome" "$ours"