Change first instance to _

This commit is contained in:
Alexandre
2024-10-11 16:56:18 +02:00
committed by GitHub
parent bf293ab434
commit ce5b50c828

View File

@@ -12,7 +12,7 @@ if [ ! -d /config ]; then
fi
# Define slug
slug="${HOSTNAME//-/_}"
slug="${HOSTNAME/-/_}"
# Check type of config folder
if [ ! -f /config/configuration.yaml ] && [ ! -f /config/configuration.json ]; then