Skip to content

Commit 94fc037

Browse files
committed
Update Script
1 parent 14b6597 commit 94fc037

File tree

30 files changed

+113
-141
lines changed

30 files changed

+113
-141
lines changed

install.sh

Lines changed: 1 addition & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ set -e
1212
#
1313
########################################################
1414

15-
SCRIPT_VERSION="v0.8.1"
15+
SCRIPT_VERSION="v0.8.2"
1616

1717

1818
print_brake() {
@@ -99,38 +99,6 @@ ZingTheme() {
9999
bash <(curl -s https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/${SCRIPT_VERSION}/themes/version1.x/ZingTheme/build.sh)
100100
}
101101

102-
BlackEndSpace() {
103-
bash <(curl -s https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/${SCRIPT_VERSION}/themes/version0.7.19/BlackEndSpace/build.sh)
104-
}
105-
106-
BlueBrick() {
107-
bash <(curl -s https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/${SCRIPT_VERSION}/themes/version0.7.19/BlueBrick/build.sh)
108-
}
109-
110-
LimeStitch() {
111-
bash <(curl -s https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/${SCRIPT_VERSION}/themes/version0.7.19/LimeStitch/build.sh)
112-
}
113-
114-
MinecraftMadness() {
115-
bash <(curl -s https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/${SCRIPT_VERSION}/themes/version0.7.19/MinecraftMadness/build.sh)
116-
}
117-
118-
NothingButGraphite() {
119-
bash <(curl -s https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/${SCRIPT_VERSION}/themes/version0.7.19/NothingButGraphite/build.sh)
120-
}
121-
122-
RedApe() {
123-
bash <(curl -s https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/${SCRIPT_VERSION}/themes/version0.7.19/RedApe/build.sh)
124-
}
125-
126-
TangoTwist() {
127-
bash <(curl -s https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/${SCRIPT_VERSION}/themes/version0.7.19/TangoTwist/build.sh)
128-
}
129-
130-
Argon() {
131-
bash <(curl -s https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/${SCRIPT_VERSION}/themes/version0.7.19/Argon/build.sh)
132-
}
133-
134102

135103
while [ "$done" == false ]; do
136104
options=(
@@ -139,14 +107,6 @@ while [ "$done" == false ]; do
139107
"Install Enola (Only 1.x)"
140108
"Install Twilight (Only 1.x)"
141109
"Install Zing Theme (Only 1.x)"
142-
"Install Black End Space (Only 0.7.19)"
143-
"Install Blue Brick (Only 0.7.19)"
144-
"Install Lime Stitch (Only 0.7.19)"
145-
"Install Minecraft Madness (Only 0.7.19)"
146-
"Install Nothing But Graphite (Only 0.7.19)"
147-
"Install Red Ape (Only 0.7.19)"
148-
"Install Tango Twist (Only 0.7.19)"
149-
"Install Argon (Only 0.7.19)"
150110

151111

152112
"Cancel Installation"
@@ -158,14 +118,6 @@ while [ "$done" == false ]; do
158118
"Enola"
159119
"Twilight"
160120
"ZingTheme"
161-
"BlackEndSpace"
162-
"BlueBrick"
163-
"LimeStitch"
164-
"MinecraftMadness"
165-
"NothingButGraphite"
166-
"RedApe"
167-
"TangoTwist"
168-
"Argon"
169121

170122

171123
"cancel"
119 KB
Loading
103 KB
Loading

themes/version0.7.19/Argon/build.sh

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ set -e
1313
########################################################
1414

1515
#### Variables ####
16-
SCRIPT_VERSION="v0.8.1"
16+
SCRIPT_VERSION="v0.8.2"
1717
ARGON="APP_THEME=argon"
18-
SUPPORT_LINK="https://discord.gg/buDBbSGJmQ"
1918

2019

2120
print_brake() {
@@ -83,12 +82,15 @@ case "$OS" in
8382
debian | ubuntu)
8483
apt-get install -y zip
8584
;;
86-
87-
centos)
88-
[ "$OS_VER_MAJOR" == "7" ] && yum install -y zip
89-
[ "$OS_VER_MAJOR" == "8" ] && dnf install -y zip
90-
;;
9185
esac
86+
87+
if [ "$OS_VER_MAJOR" == "7" ]; then
88+
sudo yum install -y zip
89+
fi
90+
91+
if [ "$OS_VER_MAJOR" == "8" ]; then
92+
sudo dnf install -y zip
93+
fi
9294
}
9395

9496

@@ -142,7 +144,6 @@ echo
142144
echo -e "* ${GREEN}The theme ${YELLOW}Argon${GREEN} was successfully installed."
143145
echo -e "* A security backup of your panel has been created."
144146
echo -e "* Thank you for using this script."
145-
echo -e "* Support group: ${YELLOW}$(hyperlink "$SUPPORT_LINK")${reset}"
146147
echo
147148
print_brake 50
148149
}
315 KB
Loading
316 KB
Loading

themes/version0.7.19/BlackEndSpace/build.sh

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ set -e
1313
########################################################
1414

1515
#### Variables ####
16-
SCRIPT_VERSION="v0.8.1"
17-
SUPPORT_LINK="https://discord.gg/buDBbSGJmQ"
16+
SCRIPT_VERSION="v0.8.2"
1817

1918

2019
print_brake() {
@@ -82,12 +81,15 @@ case "$OS" in
8281
debian | ubuntu)
8382
apt-get install -y zip
8483
;;
85-
86-
centos)
87-
[ "$OS_VER_MAJOR" == "7" ] && yum install -y zip
88-
[ "$OS_VER_MAJOR" == "8" ] && dnf install -y zip
89-
;;
9084
esac
85+
86+
if [ "$OS_VER_MAJOR" == "7" ]; then
87+
sudo yum install -y zip
88+
fi
89+
90+
if [ "$OS_VER_MAJOR" == "8" ]; then
91+
sudo dnf install -y zip
92+
fi
9193
}
9294

9395

@@ -138,7 +140,6 @@ echo
138140
echo -e "* ${GREEN}The theme ${YELLOW}Black End Space${GREEN} was successfully installed."
139141
echo -e "* A security backup of your panel has been created."
140142
echo -e "* Thank you for using this script."
141-
echo -e "* Support group: ${YELLOW}$(hyperlink "$SUPPORT_LINK")${reset}"
142143
echo
143144
print_brake 50
144145
}
411 KB
Loading
413 KB
Loading

themes/version0.7.19/BlueBrick/build.sh

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ set -e
1313
########################################################
1414

1515
#### Variables ####
16-
SCRIPT_VERSION="v0.8.1"
17-
SUPPORT_LINK="https://discord.gg/buDBbSGJmQ"
16+
SCRIPT_VERSION="v0.8.2"
1817

1918

2019
print_brake() {
@@ -82,12 +81,15 @@ case "$OS" in
8281
debian | ubuntu)
8382
apt-get install -y zip
8483
;;
85-
86-
centos)
87-
[ "$OS_VER_MAJOR" == "7" ] && yum install -y zip
88-
[ "$OS_VER_MAJOR" == "8" ] && dnf install -y zip
89-
;;
9084
esac
85+
86+
if [ "$OS_VER_MAJOR" == "7" ]; then
87+
sudo yum install -y zip
88+
fi
89+
90+
if [ "$OS_VER_MAJOR" == "8" ]; then
91+
sudo dnf install -y zip
92+
fi
9193
}
9294

9395

@@ -138,7 +140,6 @@ echo
138140
echo -e "* ${GREEN}The theme ${YELLOW}Blue Brick${GREEN} was successfully installed."
139141
echo -e "* A security backup of your panel has been created."
140142
echo -e "* Thank you for using this script."
141-
echo -e "* Support group: ${YELLOW}$(hyperlink "$SUPPORT_LINK")${reset}"
142143
echo
143144
print_brake 50
144145
}

0 commit comments

Comments
 (0)