Ensure target paths exist before running stow.

This commit is contained in:
Hans Goor 2024-08-16 21:42:43 +00:00
parent 70677bae30
commit c9531b2c0a

View file

@ -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!"