mirror of
https://github.com/G2-Games/welcome.sh.git
synced 2025-04-19 05:22:53 -05:00
Fixed curl command to allow redirects
This commit is contained in:
parent
b969c67916
commit
8434db6ed7
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue