From 3aa127313208d012654ca6f226d6d9ceb58e2d15 Mon Sep 17 00:00:00 2001 From: TrudeEH Date: Mon, 25 Mar 2024 13:23:16 +0000 Subject: [PATCH] Fix previous commit --- install.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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