From c9531b2c0a16b23a3a5eda348b8ccee049ad86ff Mon Sep 17 00:00:00 2001 From: Hans Goor Date: Fri, 16 Aug 2024 21:42:43 +0000 Subject: [PATCH] Ensure target paths exist before running stow. --- install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/install.sh b/install.sh index faed568..9f3325f 100755 --- a/install.sh +++ b/install.sh @@ -26,10 +26,10 @@ mkdir -p "${TARGET_DIR}/.ssh" mkdir -p "${TARGET_DIR}/.config" # Install SSH separately, as it requres a different target. -do_stow ssh "${TARGET_DIR}/.ssh" -do_stow tmux -do_stow git -do_stow zsh -do_stow nvim "${TARGET_DIR}/.config" +do_stow ssh "${TARGET_DIR}/.ssh" || true +do_stow tmux || true +do_stow git || true +do_stow zsh || true +do_stow nvim "${TARGET_DIR}/.config" || true echo "[+] Installed!"