diff --git a/install.sh b/install.sh index 0a8dadc..85b81aa 100644 --- a/install.sh +++ b/install.sh @@ -160,9 +160,9 @@ install_options(){ output "[2] Install the daemon." output "[3] Install the panel and daemon." output "[4] Install the standalone SFTP server." - output "[5] Upgrade 0.7.x panel to 0.7.18." + output "[5] Upgrade 1.0.0-rc.x RC panel to 1.0.0-rc.5." output "[6] Upgrade 0.6.x daemon to 0.6.13." - output "[7] Upgrade the panel to 0.7.18 and daemon to 0.6.13" + output "[7] Upgrade the panel to 1.0.0-rc.x and daemon to 1.0.0-rc.5" output "[8] Upgrade the standalone SFTP server to 1.0.5." output "[9] Make Pterodactyl compatible with the mobile app (only use this after you have installed the panel - check out https://pterodactyl.cloud for more information)." output "[10] Update mobile compatibility." @@ -368,9 +368,9 @@ install_dependencies(){ output "Installing dependencies..." if [ "$lsb_dist" = "ubuntu" ] || [ "$lsb_dist" = "debian" ]; then if [ "$webserver" = "1" ]; then - apt-get -y install php7.4 php7.4-cli php7.4-gd php7.4-mysql php7.4-pdo php7.4-mbstring php7.4-tokenizer php7.4-bcmath php7.4-xml php7.4-fpm php7.4-curl php7.4-zip curl tar unzip git redis-server nginx git wget expect + apt-get -y install php7.4 php7.4-{cli,gd,mysql,pdo,mbstring,tokenizer,bcmath,xml,fpm,curl,zip} curl tar unzip git redis-server nginx git wget expect elif [ "$webserver" = "2" ]; then - apt-get -y install php7.4 php7.4-cli php7.4-gd php7.4-mysql php7.4-pdo php7.4-mbstring php7.4-tokenizer php7.4-bcmath php7.4-xml php7.4-fpm php7.4-curl php7.4-zip curl tar unzip git redis-server apache2 libapache2-mod-php7.4 redis-server git wget expect + apt-get -y install php7.4 php7.4-{cli,gd,mysql,pdo,mbstring,tokenizer,bcmath,xml,fpm,curl,zip} curl tar unzip git redis-server apache2 libapache2-mod-php7.4 redis-server git wget expect fi sh -c "DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-unauthenticated mariadb-server" elif [ "$lsb_dist" = "centos" ] && [ "$dist_version" = "7" ]; then @@ -472,7 +472,7 @@ install_pterodactyl() { output "Downloading Pterodactyl..." mkdir -p /var/www/pterodactyl cd /var/www/pterodactyl - curl -Lo panel.tar.gz https://github.com/pterodactyl/panel/releases/download/v0.7.18/panel.tar.gz + curl -Lo panel.tar.gz https://github.com/pterodactyl/panel/releases/download/v1.0.0-rc.5/panel.tar.gz tar --strip-components=1 -xzvf panel.tar.gz chmod -R 755 storage/* bootstrap/cache/ @@ -555,7 +555,7 @@ EOF upgrade_pterodactyl(){ cd /var/www/pterodactyl php artisan down - curl -L https://github.com/pterodactyl/panel/releases/download/v0.7.18/panel.tar.gz | tar --strip-components=1 -xzv + curl -Lo panel.tar.gz https://github.com/pterodactyl/panel/releases/download/v1.0.0-rc.5/panel.tar.gz | tar --strip-components=1 -xzv chmod -R 755 storage/* bootstrap/cache composer install --no-dev --optimize-autoloader php artisan view:clear @@ -570,7 +570,7 @@ upgrade_pterodactyl(){ semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/pterodactyl/storage(/.*)?" restorecon -R /var/www/pterodactyl fi - output "Your panel has successfully been updated to version 0.7.18." + output "Your panel has successfully been updated to version 1.0.0-rc.5." php artisan up php artisan queue:restart }