Update scripts that use read -p (#4498)

This commit is contained in:
Slaviša Arežina
2025-05-15 11:13:57 +02:00
committed by GitHub
parent 59dfdc9af6
commit 62189321cc
44 changed files with 257 additions and 258 deletions

View File

@@ -53,9 +53,9 @@ $STD mysql -u root -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost'; FLUSH
} >>~/pterodactyl-panel.creds
msg_ok "Set up MariaDB"
read -p "Provide an email address for admin login, this should be a valid email address: " ADMIN_EMAIL
read -p "Enter your First Name: " NAME_FIRST
read -p "Enter your Last Name: " NAME_LAST
read -p "${TAB3}Provide an email address for admin login, this should be a valid email address: " ADMIN_EMAIL
read -p "${TAB3}nter your First Name: " NAME_FIRST
read -p "${TAB3}Enter your Last Name: " NAME_LAST
msg_info "Installing pterodactyl Panel"
RELEASE=$(curl -fsSL https://api.github.com/repos/pterodactyl/panel/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')