From e610993a30a40ff1a27ef7852eec06647bd4f087 Mon Sep 17 00:00:00 2001 From: amolinae06 Date: Sun, 18 May 2025 19:05:15 -0600 Subject: [PATCH] fix issue --- installer.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/installer.sh b/installer.sh index 4b35182..12bfa1b 100644 --- a/installer.sh +++ b/installer.sh @@ -18,6 +18,9 @@ deploy_dotfiles(){ } read_software(){ + # Checks if .local/src/ exists. + [ -d "/home/"$user"/.local/src/" ] || mkdir "/home/"$user"/.local/src/" + ([ -f "$1" ] && cp "$1" /tmp/temp.csv) || wget -qO- "$1" > /tmp/temp.csv tail -n +2 "/tmp/temp.csv" | sed -E ':a; s/("[^"]*),([^"]*")/\1\2/; ta' | while IFS=',' read -r NAME DESCRIPTION GIT GIT_URL; do