From de2b82daef25f7a6bcd515541ee035e2893b55f1 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Mon, 15 Feb 2021 21:26:15 -0500 Subject: [PATCH] FIX script errors --- run_once_clone-repos.sh | 5 +++-- run_once_install-packages.sh | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/run_once_clone-repos.sh b/run_once_clone-repos.sh index b4e76eb..3d8563f 100644 --- a/run_once_clone-repos.sh +++ b/run_once_clone-repos.sh @@ -1,7 +1,7 @@ #! /bin/bash clone_maybe () { - if [ ! -d "$2" ]; + if [ ! -d "$2" ]; then echo cloning git repo: "$1" git clone --recurse-submodules "$1" "$2" else @@ -9,8 +9,9 @@ clone_maybe () { fi } +clone_maybe https://github.com/ndwarshuis/conky.git "$HOME/.config/conky" clone_maybe https://github.com/ndwarshuis/.emacs.d.git "$HOME/.config/emacs" clone_maybe https://github.com/ndwarshuis/rofi-extras.git "$HOME/.config/rofi-extras" -clone_maybe https://github.com/ndwarshuis/xmonad-config.git "$HOME/.config/xmonad" clone_maybe https://github.com/ndwarshuis/xman.git "$HOME/.config/xman" +clone_maybe https://github.com/ndwarshuis/xmonad-config.git "$HOME/.config/xmonad" diff --git a/run_once_install-packages.sh b/run_once_install-packages.sh index bc8bcc8..ac179fe 100644 --- a/run_once_install-packages.sh +++ b/run_once_install-packages.sh @@ -1 +1,3 @@ -sudo yay -S stack-static +#! /bin/bash + +yay -S stack-static