Move from putey.net to brepo.ru
This commit is contained in:
@@ -679,7 +679,7 @@ echo
|
||||
# Installing Nginx repo
|
||||
|
||||
echo "[ * ] NGINX"
|
||||
dnf config-manager --add-repo https://dev.putey.net/bayrepo/hestiacp/raw/branch/master/install/rpm/nginx/nginx.repo
|
||||
dnf config-manager --add-repo https://dev.brepo.ru/bayrepo/hestiacp/raw/branch/master/install/rpm/nginx/nginx.repo
|
||||
|
||||
# Installing Remi PHP repo
|
||||
echo "[ * ] PHP"
|
||||
@@ -688,7 +688,7 @@ dnf install -y https://rpms.remirepo.net/enterprise/remi-release-$release.rpm
|
||||
# Installing MariaDB repo
|
||||
if [ "$mysql" = 'yes' ]; then
|
||||
echo "[ * ] MariaDB"
|
||||
dnf config-manager --add-repo https://dev.putey.net/bayrepo/hestiacp/raw/branch/master/install/rpm/mysql/mariadb-$(arch).repo
|
||||
dnf config-manager --add-repo https://dev.brepo.ru/bayrepo/hestiacp/raw/branch/master/install/rpm/mysql/mariadb-$(arch).repo
|
||||
fi
|
||||
|
||||
# Enabling MySQL module
|
||||
@@ -701,9 +701,9 @@ fi
|
||||
|
||||
# Installing HestiaCP repo
|
||||
echo "[ * ] Hestia Control Panel"
|
||||
dnf config-manager --add-repo https://dev.putey.net/bayrepo/hestiacp/raw/branch/master/install/rpm/hestia/hestia.repo
|
||||
rpm --import https://repo.putey.net/repo/gpgkeys/repo.putey.net.pub
|
||||
check_result $? "rpm import putey.net GPG key failed"
|
||||
dnf config-manager --add-repo https://dev.brepo.ru/bayrepo/hestiacp/raw/branch/master/install/rpm/hestia/hestia.repo
|
||||
rpm --import https://repo.brepo.ru/repo/gpgkeys/repo.brepo.ru.pub
|
||||
check_result $? "rpm import brepo.ru GPG key failed"
|
||||
mkdir /var/cache/hestia-nginx/
|
||||
chown admin:admin /var/cache/hestia-nginx/
|
||||
|
||||
|
||||
@@ -434,7 +434,7 @@ fi
|
||||
|
||||
# Validate whether installation script matches release version before continuing with install
|
||||
if [ -z "$withdebs" ] || [ ! -d "$withdebs" ]; then
|
||||
release_branch_ver=$(curl -s https://dev.putey.net/bayrepo/hestiacp/raw/branch/master/src/deb/hestia/control | grep "Version:" | awk '{print $2}')
|
||||
release_branch_ver=$(curl -s https://dev.brepo.ru/bayrepo/hestiacp/raw/branch/master/src/deb/hestia/control | grep "Version:" | awk '{print $2}')
|
||||
if [ "$HESTIA_INSTALL_VER" != "$release_branch_ver" ]; then
|
||||
echo
|
||||
echo -e "\e[91mInstallation aborted\e[0m"
|
||||
@@ -442,7 +442,7 @@ if [ -z "$withdebs" ] || [ ! -d "$withdebs" ]; then
|
||||
echo -e "\e[33mERROR: Install script version does not match package version!\e[0m"
|
||||
echo -e "\e[33mPlease download the installer from the release branch in order to continue:\e[0m"
|
||||
echo ""
|
||||
echo -e "\e[33mhttps://dev.putey.net/bayrepo/hestiacp/raw/branch/master/install/hst-install.sh\e[0m"
|
||||
echo -e "\e[33mhttps://dev.brepo.ru/bayrepo/hestiacp/raw/branch/master/install/hst-install.sh\e[0m"
|
||||
echo ""
|
||||
echo -e "\e[33mTo test pre-release versions, build the .deb packages and re-run the installer:\e[0m"
|
||||
echo -e " \e[33m./hst_autocompile.sh \e[1m--hestia branchname no\e[21m\e[0m"
|
||||
|
||||
@@ -90,7 +90,7 @@ check_wget_curl() {
|
||||
# Check wget
|
||||
if [ -e '/usr/bin/wget' ]; then
|
||||
if [ -e '/etc/redhat-release' ]; then
|
||||
wget -q https://dev.putey.net/bayrepo/hestiacp/raw/branch/master/install/hst-install-rhel.sh -O hst-install-rhel.sh
|
||||
wget -q https://dev.brepo.ru/bayrepo/hestiacp/raw/branch/master/install/hst-install-rhel.sh -O hst-install-rhel.sh
|
||||
if [ "$?" -eq '0' ]; then
|
||||
bash hst-install-rhel.sh $*
|
||||
exit
|
||||
@@ -99,7 +99,7 @@ check_wget_curl() {
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
wget -q https://dev.putey.net/bayrepo/hestiacp/raw/branch/master/install/hst-install-$type.sh -O hst-install-$type.sh
|
||||
wget -q https://dev.brepo.ru/bayrepo/hestiacp/raw/branch/master/install/hst-install-$type.sh -O hst-install-$type.sh
|
||||
if [ "$?" -eq '0' ]; then
|
||||
bash hst-install-$type.sh $*
|
||||
exit
|
||||
@@ -113,7 +113,7 @@ check_wget_curl() {
|
||||
# Check curl
|
||||
if [ -e '/usr/bin/curl' ]; then
|
||||
if [ -e '/etc/redhat-release' ]; then
|
||||
curl -s -O https://dev.putey.net/bayrepo/hestiacp/raw/branch/master/install/hst-install-rhel.sh
|
||||
curl -s -O https://dev.brepo.ru/bayrepo/hestiacp/raw/branch/master/install/hst-install-rhel.sh
|
||||
if [ "$?" -eq '0' ]; then
|
||||
bash hst-install-rhel.sh $*
|
||||
exit
|
||||
@@ -122,7 +122,7 @@ check_wget_curl() {
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
curl -s -O https://dev.putey.net/bayrepo/hestiacp/raw/branch/master/install/hst-install-$type.sh
|
||||
curl -s -O https://dev.brepo.ru/bayrepo/hestiacp/raw/branch/master/install/hst-install-$type.sh
|
||||
if [ "$?" -eq '0' ]; then
|
||||
bash hst-install-$type.sh $*
|
||||
exit
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[hestiacp]
|
||||
name=msvsphere9 repo on repo.putey.net
|
||||
comment=msvsphere9 repo on repo.putey.net
|
||||
baseurl=https://repo.putey.net/repo/msvsphere9_preprod
|
||||
name=msvsphere9 repo on repo.brepo.ru
|
||||
comment=msvsphere9 repo on repo.brepo.ru
|
||||
baseurl=https://repo.brepo.ru/repo/msvsphere9_preprod
|
||||
enabled=1
|
||||
gpgkey=https://repo.putey.net/repo/gpgkeys/repo.putey.net.pub
|
||||
gpgkey=https://repo.brepo.ru/repo/gpgkeys/repo.brepo.ru.pub
|
||||
gpgcheck=1
|
||||
Reference in New Issue
Block a user