diff --git a/install.sh b/install.sh index 8d4bdf3..3a3d4c2 100755 --- a/install.sh +++ b/install.sh @@ -7,7 +7,7 @@ clone_dir() { local dir=${1:-home} local to=${2:-$HOME} - mkdir -p "$to/.${dir#home/}" + [ "$dir" != "home" ] && mkdir -p "$to/.${dir#home/}" for f in $dir/*; do if [ -d "$f" ]; then clone_dir "$f" "$to"