dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

commit 6b08ec5d6f7ab76dd09eb2011ee79b6024485455
parent bfe252b608895d5a3c201d0aedde9fbec0d351ce
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Thu,  1 Feb 2018 06:48:43 -0500

my-init: Add -p to mkdir calls

Diffstat:
M.local/bin/my-init | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.local/bin/my-init b/.local/bin/my-init @@ -118,8 +118,8 @@ then cd - > /dev/null 2>&1 fi -[ ! -d "$HOME/.local/var/log" ] && mkdir "$HOME/.local/var/log" -[ ! -d "$HOME/.local/var/forecastio" ] && mkdir "$HOME/.local/var/forecastio" +[ ! -d "$HOME/.local/var/log" ] && mkdir -p "$HOME/.local/var/log" +[ ! -d "$HOME/.local/var/forecastio" ] && mkdir -p "$HOME/.local/var/forecastio" if [ ! -f "$HOME/._.djmoch" ] then