Skip to content

Commit

Permalink
Fixed Oxide References Config Not being removed
Browse files Browse the repository at this point in the history
  • Loading branch information
BippyMiester committed Aug 3, 2024
1 parent 04e8584 commit a2e1d22
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions games/carbon/helpers/clean_rustdedicated.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,6 @@ function Clean_RustDedicated() {
Debug "Can not find DISCORD: ${DISCORD}"
fi

# Check if Oxide Reference Config is installed
if [[ -f "$OXIDEREF" ]]; then
Info "Found Oxide Reference Config! Moving it now..."
# Move it
rm -rf "$OXIDEREF"
Success "Oxide Reference Config Moved!"
else
Debug "Can not find OXIDEREF: ${OXIDEREF}"
fi

elif [[ "${FRAMEWORK}" == "vanilla" ]]; then
Debug "Vanilla framework detected!"

Expand All @@ -100,4 +90,14 @@ function Clean_RustDedicated() {
fi
shopt -u nullglob # Restore Default Globbing Behavior
fi

# Check if Oxide Reference Config is installed
if [[ -f "$OXIDEREF" ]]; then
Info "Found Oxide Reference Config! Moving it now..."
# Move it
rm -rf "$OXIDEREF"
Success "Oxide Reference Config Moved!"
else
Debug "Can not find OXIDEREF: ${OXIDEREF}"
fi
}

0 comments on commit a2e1d22

Please sign in to comment.