Fixed curl command to allow redirects

This commit is contained in:
G2-Games 2022-09-03 16:13:45 -05:00
parent b969c67916
commit 8434db6ed7

View file

@ -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