diff --git a/install.sh b/install.sh index f3fdafe3..6d761df2 100755 --- a/install.sh +++ b/install.sh @@ -5,7 +5,13 @@ source scripts/color.sh # ============== CONFIG ============== -p i curl +d=$(detectDistro) +if [[ $d == "Debian" ]]; then + sudo apt install -y curl +elif [[ $d == "Arch" ]]; then + sudo pacman -Sy curl +fi + p i stow # Link dotfile home to $HOME