mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-10 01:25:58 +02:00
Merge branch 'master' of https://github.com/alexbelgium/hassio-addons
This commit is contained in:
@@ -11,7 +11,7 @@ APP_KEY="$(bashio::config 'APP_KEY')"
|
|||||||
# If not base64
|
# If not base64
|
||||||
if [[ ! "$APP_KEY" == *"base64"* ]]; then
|
if [[ ! "$APP_KEY" == *"base64"* ]]; then
|
||||||
# Check APP_KEY format
|
# Check APP_KEY format
|
||||||
if [ ! ${#APP_KEY} = 32 ]; then bashio::exit.nok "Your APP_KEY has ${#APP_KEY} instead of 32 characters"; fi
|
if [ ! "${#APP_KEY}" = 32 ]; then bashio::exit.nok "Your APP_KEY has ${#APP_KEY} instead of 32 characters"; fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Backup APP_KEY file
|
# Backup APP_KEY file
|
||||||
|
|||||||
Reference in New Issue
Block a user