mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 21:04:05 +02:00
Change first instance to _
This commit is contained in:
@@ -12,7 +12,7 @@ if [ ! -d /config ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Define slug
|
# Define slug
|
||||||
slug="${HOSTNAME//-/_}"
|
slug="${HOSTNAME/-/_}"
|
||||||
|
|
||||||
# Check type of config folder
|
# Check type of config folder
|
||||||
if [ ! -f /config/configuration.yaml ] && [ ! -f /config/configuration.json ]; then
|
if [ ! -f /config/configuration.yaml ] && [ ! -f /config/configuration.json ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user