Skip to content

Commit

Permalink
Download installer always from release branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
ScIT-Raphael committed Mar 28, 2020
1 parent 7dff502 commit c473431
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install/hst-install.sh
Expand Up @@ -74,7 +74,7 @@ fi
check_wget_curl(){
# Check wget
if [ -e '/usr/bin/wget' ]; then
wget -q https://raw.githubusercontent.com/hestiacp/hestiacp/master/install/hst-install-$type.sh -O hst-install-$type.sh
wget -q https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install-$type.sh -O hst-install-$type.sh
if [ "$?" -eq '0' ]; then
bash hst-install-$type.sh $*
exit
Expand All @@ -86,7 +86,7 @@ check_wget_curl(){

# Check curl
if [ -e '/usr/bin/curl' ]; then
curl -s -O https://raw.githubusercontent.com/hestiacp/hestiacp/master/install/hst-install-$type.sh
curl -s -O https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install-$type.sh
if [ "$?" -eq '0' ]; then
bash hst-install-$type.sh $*
exit
Expand Down

0 comments on commit c473431

Please sign in to comment.