Fixed install pathes

devel
Alexey Berezhok 1 year ago
parent 61a0b8b113
commit 531866a4ab

@ -90,7 +90,7 @@ check_wget_curl() {
# Check wget # Check wget
if [ -e '/usr/bin/wget' ]; then if [ -e '/usr/bin/wget' ]; then
if [ -e '/etc/redhat-release' ]; then if [ -e '/etc/redhat-release' ]; then
wget -q https://raw.githubusercontent.com/raven-kg/hestiacp/hcp-rhel-rx/install/hst-install-rhel.sh -O hst-install-rhel.sh wget -q https://dev.putey.net/bayrepo/hestiacp/raw/branch/master/install/hst-install-rhel.sh -O hst-install-rhel.sh
if [ "$?" -eq '0' ]; then if [ "$?" -eq '0' ]; then
bash hst-install-rhel.sh $* bash hst-install-rhel.sh $*
exit exit
@ -99,7 +99,7 @@ check_wget_curl() {
exit 1 exit 1
fi fi
else else
wget -q https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install-$type.sh -O hst-install-$type.sh wget -q https://dev.putey.net/bayrepo/hestiacp/raw/branch/master/install/hst-install-$type.sh -O hst-install-$type.sh
if [ "$?" -eq '0' ]; then if [ "$?" -eq '0' ]; then
bash hst-install-$type.sh $* bash hst-install-$type.sh $*
exit exit
@ -113,7 +113,7 @@ check_wget_curl() {
# Check curl # Check curl
if [ -e '/usr/bin/curl' ]; then if [ -e '/usr/bin/curl' ]; then
if [ -e '/etc/redhat-release' ]; then if [ -e '/etc/redhat-release' ]; then
curl -s -O https://raw.githubusercontent.com/raven-kg/hestiacp/hcp-rhel-rx/install/hst-install-rhel.sh curl -s -O https://dev.putey.net/bayrepo/hestiacp/raw/branch/master/install/hst-install-rhel.sh
if [ "$?" -eq '0' ]; then if [ "$?" -eq '0' ]; then
bash hst-install-rhel.sh $* bash hst-install-rhel.sh $*
exit exit
@ -122,7 +122,7 @@ check_wget_curl() {
exit 1 exit 1
fi fi
else else
curl -s -O https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install-$type.sh curl -s -O https://dev.putey.net/bayrepo/hestiacp/raw/branch/master/install/hst-install-$type.sh
if [ "$?" -eq '0' ]; then if [ "$?" -eq '0' ]; then
bash hst-install-$type.sh $* bash hst-install-$type.sh $*
exit exit

Loading…
Cancel
Save