Skip to content

Commit a7c427f

Browse files
committed
Add custom directory
1 parent c7d937d commit a7c427f

File tree

5 files changed

+9
-0
lines changed

5 files changed

+9
-0
lines changed

themes/version1.x/BackgroundVideo/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ if [ "$PTERO_INSTALL" == true ]; then
295295
if [ -d "$MANUAL_DIR" ]; then
296296
print "Directory has been found!"
297297
PTERO="$MANUAL_DIR"
298+
echo "$MANUAL_DIR" >> "$INFORMATIONS/custom_directory.txt"
298299
update_variables
299300
compatibility
300301
check_conflict

themes/version1.x/Dracula/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ curl --silent \
2525
# Fixed Variables #
2626
SCRIPT_VERSION="$(get_release)"
2727
SUPPORT_LINK="https://discord.gg/buDBbSGJmQ"
28+
INFORMATIONS="/var/log/Pterodactyl-AutoThemes-informations"
2829

2930
# Update Variables #
3031
update_variables() {
@@ -239,6 +240,7 @@ if [ "$PTERO_INSTALL" == true ]; then
239240
if [ -d "$MANUAL_DIR" ]; then
240241
print "Directory has been found!"
241242
PTERO="$MANUAL_DIR"
243+
echo "$MANUAL_DIR" >> "$INFORMATIONS/custom_directory.txt"
242244
update_variables
243245
compatibility
244246
dependencies

themes/version1.x/Enola/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ curl --silent \
2525
# Fixed Variables #
2626
SCRIPT_VERSION="$(get_release)"
2727
SUPPORT_LINK="https://discord.gg/buDBbSGJmQ"
28+
INFORMATIONS="/var/log/Pterodactyl-AutoThemes-informations"
2829

2930
# Update Variables #
3031
update_variables() {
@@ -238,6 +239,7 @@ if [ "$PTERO_INSTALL" == true ]; then
238239
if [ -d "$MANUAL_DIR" ]; then
239240
print "Directory has been found!"
240241
PTERO="$MANUAL_DIR"
242+
echo "$MANUAL_DIR" >> "$INFORMATIONS/custom_directory.txt"
241243
update_variables
242244
compatibility
243245
dependencies

themes/version1.x/Twilight/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ curl --silent \
2525
# Fixed Variables #
2626
SCRIPT_VERSION="$(get_release)"
2727
SUPPORT_LINK="https://discord.gg/buDBbSGJmQ"
28+
INFORMATIONS="/var/log/Pterodactyl-AutoThemes-informations"
2829

2930
# Update Variables #
3031
update_variables() {
@@ -238,6 +239,7 @@ if [ "$PTERO_INSTALL" == true ]; then
238239
if [ -d "$MANUAL_DIR" ]; then
239240
print "Directory has been found!"
240241
PTERO="$MANUAL_DIR"
242+
echo "$MANUAL_DIR" >> "$INFORMATIONS/custom_directory.txt"
241243
update_variables
242244
compatibility
243245
dependencies

themes/version1.x/ZingTheme/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ curl --silent \
2525
# Fixed Variables #
2626
SCRIPT_VERSION="$(get_release)"
2727
SUPPORT_LINK="https://discord.gg/buDBbSGJmQ"
28+
INFORMATIONS="/var/log/Pterodactyl-AutoThemes-informations"
2829

2930
# Update Variables #
3031
update_variables() {
@@ -242,6 +243,7 @@ if [ "$PTERO_INSTALL" == true ]; then
242243
if [ -d "$MANUAL_DIR" ]; then
243244
print "Directory has been found!"
244245
PTERO="$MANUAL_DIR"
246+
echo "$MANUAL_DIR" >> "$INFORMATIONS/custom_directory.txt"
245247
update_variables
246248
compatibility
247249
verify_installation

0 commit comments

Comments
 (0)