Skip to content

Commit

Permalink
Mariadb repo fix, added first time setup check
Browse files Browse the repository at this point in the history
Mariadb repo fix, added first time setup check
  • Loading branch information
cryptopool-builders committed Nov 10, 2019
1 parent 235c930 commit 8a4f436
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion menu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

source /etc/functions.sh

RESULT=$(dialog --stdout --default-item 1 --title "Ultimate Crypto-Server Setup Installer v1.47" --menu "Choose one" -1 60 6 \
RESULT=$(dialog --stdout --default-item 1 --title "Ultimate Crypto-Server Setup Installer v1.48" --menu "Choose one" -1 60 6 \
' ' "- For small private pools -" \
1 "YiiMP - Single Server" \
' ' "- If you plan on adding more servers later -" \
Expand Down
4 changes: 2 additions & 2 deletions system.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ echo -e "$GREEN Done...$COL_RESET"
echo -e " Installing MariaDB Repository...$COL_RESET"
hide_output sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
if [[ ("$DISTRO" == "16") ]]; then
hide_output sudo add-apt-repository 'deb [arch=amd64,arm64,i386,ppc64el] http://mirrors.accretive-networks.net/mariadb/repo/10.4/ubuntu xenial main'
sudo add-apt-repository 'deb [arch=amd64,arm64,i386,ppc64el] http://mirror.timeweb.ru/mariadb/repo/10.4/ubuntu xenial main'
else
hide_output sudo add-apt-repository 'deb [arch=amd64,arm64,i386,ppc64el] http://mirror.timeweb.ru/mariadb/repo/10.4/ubuntu xenial main'
sudo add-apt-repository 'deb [arch=amd64,arm64,ppc64el] http://mirror.timeweb.ru/mariadb/repo/10.4/ubuntu bionic main'
fi
echo -e "$GREEN Done...$COL_RESET"
# Upgrade System Files
Expand Down

0 comments on commit 8a4f436

Please sign in to comment.