Skip to content

Commit

Permalink
I hate this solution.
Browse files Browse the repository at this point in the history
  • Loading branch information
JustOneMoreBlock committed Apr 4, 2017
1 parent 59c787b commit da04335
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions auto-install-multicraft.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ apt-get -y install apache2 php5.6 php5.6-mysqlnd sqlite php5.6-gd php5.6-mbstrin
# Begin Debian
elif [ "${DISTRO}" = "Debian" ] ; then
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8507EFA5
wget https://repo.percona.com/apt/percona-release_0.1-4.$(lsb_release -sc)_all.deb -O percona-release.deb
wget --no-check-certificate https://repo.percona.com/apt/percona-release_0.1-4.$(lsb_release -sc)_all.deb -O percona-release.deb
dpkg -i percona-release.deb
apt-get update
apt-get -y purge `dpkg -l | grep php| awk '{print $2}' |tr "\n" " "`
Expand Down Expand Up @@ -148,9 +148,9 @@ cd jar
wget --no-check-certificate "https://github.com/JustOneMoreBlock/shell-scripts/blob/master/files/multicraft-jar-confs.zip?raw=true" -O multicraft-jar-confs.zip;
unzip -o multicraft-jar-confs.zip
rm -fv multicraft-jar-confs.zip
wget http://s3.amazonaws.com/MCProHosting-Misc/Spigot/Spigot.jar -O Spigot.jar
wget http://s3.amazonaws.com/MCProHosting-Misc/PaperSpigot/PaperSpigot.jar -O PaperSpigot.jar
wget http://ci.md-5.net/job/BungeeCord/lastSuccessfulBuild/artifact/bootstrap/target/BungeeCord.jar -O Bungeecord.jar
wget --no-check-certificate http://s3.amazonaws.com/MCProHosting-Misc/Spigot/Spigot.jar -O Spigot.jar
wget --no-check-certificate http://s3.amazonaws.com/MCProHosting-Misc/PaperSpigot/PaperSpigot.jar -O PaperSpigot.jar
wget --no-check-certificate http://ci.md-5.net/job/BungeeCord/lastSuccessfulBuild/artifact/bootstrap/target/BungeeCord.jar -O Bungeecord.jar
cd /home/root/multicraft/

# Multicraft Panel
Expand All @@ -170,7 +170,7 @@ git clone --depth=1 --branch=STABLE git://github.com/phpmyadmin/phpmyadmin.git p
mv ${WebRoot}/phpMyAdmin/config.sample.inc.php ${WebRoot}/phpMyAdmin/config.inc.php
sed -i "s/\$cfg\[.blowfish_secret.\]\s*=.*/\$cfg['blowfish_secret'] = '${BlowFish}';/" ${WebRoot}/phpMyAdmin/config.inc.php
cd ${WebRoot}/phpMyAdmin/
wget https://getcomposer.org/composer.phar -O composer.phar
wget --no-check-certificate https://getcomposer.org/composer.phar -O composer.phar
php composer.phar update --no-dev

# php.ini Auto-Detector
Expand Down Expand Up @@ -298,7 +298,7 @@ sudo echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 seen true"
sudo apt-get -y install oracle-java8-installer
elif [ "${DISTRO}" = "CentOS" ] ; then
# Author: Mike G. aka metalcated and partially forked from n0ts (https://github.com/metalcated/)
wget https://raw.githubusercontent.com/JustOneMoreBlock/shell-scripts/master/install_java.sh -O install_java.sh
wget --no-check-certificate https://raw.githubusercontent.com/JustOneMoreBlock/shell-scripts/master/install_java.sh -O install_java.sh
chmod +x install_java.sh
sh install_java.sh jre8 rpm
rm -fv install_java.sh
Expand Down

0 comments on commit da04335

Please sign in to comment.