From 8434db6ed72582b910feba4489338fea0b0b92d1 Mon Sep 17 00:00:00 2001 From: G2-Games Date: Sat, 3 Sep 2022 16:13:45 -0500 Subject: [PATCH] Fixed curl command to allow redirects --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 6637ad2..c87716e 100755 --- a/install.sh +++ b/install.sh @@ -1,5 +1,5 @@ #!/bin/bash -version=0.1 +version='0.1' bashrc="/home/$USER/.bashrc" originaldir=$PWD @@ -9,7 +9,7 @@ then echo "Welcome! Installing..." cd /home/$USER mkdir -p /home/$USER/.welcome - curl -S https://github.com/G2-Games/welcome.sh/releases/download/v$version/welcome.sh --output /home/$USER/.welcome/welcome.sh + curl -SL https://github.com/G2-Games/welcome.sh/releases/download/v${version}/welcome.sh --output /home/$USER/.welcome/welcome.sh chmod +x /home/$USER/.welcome/welcome.sh echo 'bash /home/$USER/.welcome/welcome.sh' >> $bashrc tput rc el ed