aboutsummaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-09-07 17:08:16 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-09-07 17:08:16 +1200
commita816152b5a0123aae07e57ab6ed0e48761b293d4 (patch)
tree8d259fcb8e3538738620102c1abdecb8bf7dbab8 /install
parentCreate function for safe removal/linking (diff)
downloaddotfiles-a816152b5a0123aae07e57ab6ed0e48761b293d4.tar.gz
dotfiles-a816152b5a0123aae07e57ab6ed0e48761b293d4.zip
Move mkdir(1) calls into clearer context
Diffstat (limited to 'install')
-rwxr-xr-xinstall6
1 files changed, 2 insertions, 4 deletions
diff --git a/install b/install
index 67fbe3eb..df74ec3e 100755
--- a/install
+++ b/install
@@ -31,10 +31,8 @@ fi
# Check out submodules
(cd -- "$dotfiles" && git submodule update --init)
-# Create needed directories if they don't exist
-mkdir -p -- "$HOME"/{.config,.local/bin}
-
# Link in essential logical binaries
+mkdir -p -- "$HOME"/.local/bin
lns "$dotfiles"/ack/ack "$HOME"/.local/bin/ack
# Link in essential configuration files
@@ -66,7 +64,7 @@ while getopts :gmntx opt; do
lns "$dotfiles"/mutt "$HOME"/.mutt
;;
n)
- mkdir -p -- "$HOME"/.local/share/newsbeuter
+ mkdir -p -- "$HOME"/.config "$HOME"/.local/share/newsbeuter
lns "$dotfiles"/newsbeuter "$HOME"/.config/newsbeuter
;;
t)