Skip to content

Commit

Permalink
v1.0.8
Browse files Browse the repository at this point in the history
   serfwfewfeawaefwefawaefwefwa
  • Loading branch information
zudsniper committed Dec 15, 2022
1 parent 4a66c8c commit effb926
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
### `Summary`
for internal use only of spooky.tf team. Do not reuse without permission. Or do. But I'll be mad.

## `VERSION = 1.0.7`
## `VERSION = 1.0.8`

---

Expand Down
14 changes: 7 additions & 7 deletions installDeb10Pt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ if [[ SKIP_PROMPTS_YES -ne "Y" ]]; then
echo -ne "${A_BOLD}${A_WHITE} SKIP WITH ${A_RESET}${A_GREEN}YES!${A_RESET}\n";
fi

if [[ SKIP_PROMPTS_NO -ne "n" ]]; then
if [[ SKIP_PROMPTS_NO -ne No ]]; then
echo -ne "${A_BOLD}${A_WHITE} SKIP WITH ${A_RESET}${A_RED}no.${A_RESET}\n";
#if [[ SKIP_PROMPTS_YES -eq "Y" ]]; then
#if [[ SKIP_PROMPTS_YES -eq Yes ]]; then
# echo -ne "${A_BOLD}${A_RED} Cannot have -Y & -n flag.${A_RESET}\n";
# exit 1;
#fi
Expand Down Expand Up @@ -135,7 +135,7 @@ if [ -z ${SKIP_PROMPTS_YES} ] && [ -z ${SKIP_PROMPTS_NO} ] ; then
echo -ne "Install certbot? (Y/n) \n";
select ctbt in Yes No
do
if [[ $ctbt -eq "Y" ]]; then
if [[ $ctbt -eq Yes ]]; then
PKG_OK=$(dpkg-query -W -f='${Status}' curl 2>/dev/null | grep -c "ok installed")
if [[ $PKG_OK -eq 0 ]]; then
apt install curl;
Expand All @@ -156,15 +156,15 @@ if [ -z ${SKIP_PROMPTS_YES} ] && [ -z ${SKIP_PROMPTS_NO} ] ; then
echo -ne "\nInstall composer? (Y/n) ";
select compo in Yes No
do
if [[ $compo -eq "Y" ]]; then
if [[ $compo -eq Yes ]]; then
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
fi
if [ "$compo" != "" ]
then
break
fi
done
elif [[ SKIP_PROMPTS_YES -eq "Y" ]]; then
elif [[ SKIP_PROMPTS_YES -eq Yes ]]; then
apt install -y certbot curl
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
fi
Expand All @@ -180,7 +180,7 @@ echo -ne "${A_RED}${A_BOLD}MANUAL FOR AWHILE${A_RESET}\n";
# Remove test database and access to it? [Y/n] Y
# Reload privilege tables now? [Y/n] Y

if [[ ${SKIP_PROMPTS_YES} -eq "Y" ]]; then
if [[ ${SKIP_PROMPTS_YES} -eq Yes ]]; then
yes | mysql_secure_installation
else
mysql_secure_installation
Expand All @@ -194,7 +194,7 @@ echo -ne "${A_BOLD}https://pterodactyl.io/tutorials/mysql_setup.html${A_RESET}";

select stopRN in Yes No
do
if [[ ${stopRN} -eq "Y" ]]; then
if [[ ${stopRN} -eq Yes ]]; then
echo -ne "${A_BOLD}${A_RED}${A_INVERSE}QUITTING now :C${A_RESET}\ngo to that link, and finish those stes manually! \n";
exit 1;
fi
Expand Down

0 comments on commit effb926

Please sign in to comment.