mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-13 11:01:28 +02:00
Change first instance to _
This commit is contained in:
@@ -13,7 +13,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