FIX script errors
This commit is contained in:
parent
1a998ff73b
commit
de2b82daef
|
@ -1,7 +1,7 @@
|
||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
clone_maybe () {
|
clone_maybe () {
|
||||||
if [ ! -d "$2" ];
|
if [ ! -d "$2" ]; then
|
||||||
echo cloning git repo: "$1"
|
echo cloning git repo: "$1"
|
||||||
git clone --recurse-submodules "$1" "$2"
|
git clone --recurse-submodules "$1" "$2"
|
||||||
else
|
else
|
||||||
|
@ -9,8 +9,9 @@ clone_maybe () {
|
||||||
fi
|
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/.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/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/xman.git "$HOME/.config/xman"
|
||||||
|
clone_maybe https://github.com/ndwarshuis/xmonad-config.git "$HOME/.config/xmonad"
|
||||||
|
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
sudo yay -S stack-static
|
#! /bin/bash
|
||||||
|
|
||||||
|
yay -S stack-static
|
||||||
|
|
Loading…
Reference in New Issue