Skip to content

Commit

Permalink
Removed some debug messages and the sleep for faster testing purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
BippyMiester committed Aug 3, 2024
1 parent 44db415 commit c6fe346
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
14 changes: 3 additions & 11 deletions games/carbon/helpers/clean_rustdedicated.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ function Clean_RustDedicated() {
Debug "DISCORD: ${DISCORD}"
Debug "DEST_DIR: ${DEST_DIR}"

Debug "Testing"

# Check if Rust Edit Extension is installed
if [[ -f "$RUSTEDIT" ]]; then
Info "Found Rust Edit Extension! Moving it now..."
Expand All @@ -45,8 +43,6 @@ function Clean_RustDedicated() {
Debug "Can not find RUSTEDIT: ${RUSTEDIT}"
fi

Debug "Testing2"

# Check if Chaos Code Extension is installed
if [[ -f "$CHAOS" ]]; then
Info "Found Chaos Code Extension! Moving it now..."
Expand All @@ -57,8 +53,6 @@ function Clean_RustDedicated() {
Debug "Can not find CHAOS: ${CHAOS}"
fi

Debug "Testing3"

# Check if Discord Extension is installed
if [[ -f "$DISCORD" ]]; then
Info "Found Discord Extension! Moving it now..."
Expand All @@ -69,31 +63,29 @@ function Clean_RustDedicated() {
Debug "Can not find DISCORD: ${DISCORD}"
fi

Debug "Testing4"

elif [[ "${FRAMEWORK}" == "vanilla" ]]; then
Debug "Vanilla framework detected!"
Info "Moving Oxide Extensions to the trash..."

# Check if Rust Edit Extension is installed
if [[ -f "$RUSTEDIT" ]]; then
Info "Found Rust Edit Extension! Moving it now..."
Info "Found Rust Edit Extension! Moving it to the trash now..."
# Move it
rm -rf "$RUSTEDIT" "$DEST_DIR"
Success "Rust Edit Extension Moved!"
fi

# Check if Chaos Code Extension is installed
if [[ -f "$CHAOS" ]]; then
Info "Found Chaos Code Extension! Moving it now..."
Info "Found Chaos Code Extension! Moving it to the trash now..."
# Move it
rm -rf "$CHAOS" "$DEST_DIR"
Success "Chaos Code Extension Moved!"
fi

# Check if Discord Extension is installed
if [[ -f "$DISCORD" ]]; then
Info "Found Discord Extension! Moving it now..."
Info "Found Discord Extension! Moving it to the trash now..."
# Move it
rm -rf "$DISCORD" "$DEST_DIR"
Success "Discord Extension Moved!"
Expand Down
1 change: 0 additions & 1 deletion games/carbon/sections/auto_update_validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ if [[ "${CARBONSWITCH}" == "TRUE" ]]; then
# Go to this function
SteamCMD_Validate
Clean_RustDedicated
sleep 20
elif [[ "${FRAMEWORK}" == "vanilla" ]]; then
Info "Vanilla framework detected!"
Info "Forcing validation of game server..."
Expand Down

0 comments on commit c6fe346

Please sign in to comment.