Skip to content

Commit

Permalink
Update env_sanitize.sh
Browse files Browse the repository at this point in the history
Remove migration of apps:

`LETSENCRYPT` to `SWAG`
`MINECRAFT_BEDROCK_SERVER` to `MINECRAFTBEDROCKSERVER`
`MINECRAFT_SERVER` to `MINECRAFTSERVER`

By now, everyone should have already migrated to these.
  • Loading branch information
CLHatch committed Feb 24, 2025
1 parent bb50b17 commit f67b01a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .scripts/env_sanitize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ env_sanitize() {
run_script 'env_rename' DOCKERHOSTNAME DOCKER_HOSTNAME
run_script 'env_rename' DOCKERSTORAGEDIR DOCKER_VOLUME_STORAGE

# Rename apps
run_script 'appvars_rename' LETSENCRYPT SWAG
run_script 'appvars_rename' MINECRAFT_BEDROCK_SERVER MINECRAFTBEDROCKSERVER
run_script 'appvars_rename' MINECRAFT_SERVER MINECRAFTSERVER

# Replace ~ with /home/username
if grep -q -P '^\w+_VOLUME_\w+=~/' "${COMPOSE_ENV}"; then
info "Replacing ~ with ${DETECTED_HOMEDIR} in ${COMPOSE_ENV} file."
Expand Down

0 comments on commit f67b01a

Please sign in to comment.