From 4716231802f7e12fbcef830374b44f6c6dbc0935 Mon Sep 17 00:00:00 2001 From: Eric Mitchell Date: Fri, 24 Apr 2026 11:06:02 -0400 Subject: [PATCH] Fix mkdir command posistion in installer.sh can't write the config if the folder for it doesnt exist yet --- installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer.sh b/installer.sh index 54b96e3..6cec528 100644 --- a/installer.sh +++ b/installer.sh @@ -15,7 +15,7 @@ fi # download custom fortunes and config file echo "Downloading custom fortunes and config file..." # download the config file and prompt the user for options. - +mkdir -p ~/.local/share/tetosong curl -sLo ~/.local/share/tetosong/tetosong.config https://raw.githubusercontent.com/eric5949/tetosong/refs/heads/main/tetosong.config read -p "Do you want to hear Teto in your terminal? (y/n) " yn case $yn in @@ -29,7 +29,7 @@ case $yn in [Nn]* ) sed -i 's|^AUTOUPDATE=.*|AUTOUPDATE="NO"|' ~/.local/share/tetosong/tetosong.config ;; * ) echo "Please answer yes or no.";; esac -mkdir -p ~/.local/share/tetosong + curl -sLo ~/.local/share/tetosong/tetofortunes https://raw.githubusercontent.com/eric5949/tetosong/refs/heads/main/tetofortunes curl -sLo ~/.local/share/tetosong/tetofortunes.dat https://raw.githubusercontent.com/eric5949/tetosong/refs/heads/main/tetofortunes.dat curl -sLo ~/.local/share/tetosong/sv2SOTD.wav https://raw.githubusercontent.com/eric5949/tetosong/refs/heads/main/sv2SOTD.wav