11#! /usr/bin/env bash
22# ==============================================================================
33# Home Assistant Community Add-ons: Bashio
4- # Bashio is an bash function library for use with Home Assistant add-ons.
4+ # Bashio is a bash function library for use with Home Assistant add-ons.
55#
66# It contains a set of commonly used operations and can be used
77# to be included in add-on scripts to reduce code duplication across add-ons.
@@ -544,13 +544,13 @@ function bashio::config.require.ssl() {
544544 if bashio::config.is_empty " ${certfile} " ; then
545545 bashio::log.fatal
546546 bashio::log.fatal " SSL has been enabled using the '${key} ' option,"
547- bashio::log.fatal " this requires a SSL certificate file which is"
547+ bashio::log.fatal " this requires an SSL certificate file which is"
548548 bashio::log.fatal " configured using the '${certfile} ' option in the"
549549 bashio::log.fatal " add-on configuration."
550550 bashio::log.fatal
551551 bashio::log.fatal " Unfortunately, the '${certfile} ' option is empty."
552552 bashio::log.fatal
553- bashio::log.fatal " Consider configuring or getting a SSL certificate"
553+ bashio::log.fatal " Consider configuring or getting an SSL certificate"
554554 bashio::log.fatal " or setting the '${key} ' option to 'false' in case"
555555 bashio::log.fatal " you are not planning on using SSL with this add-on."
556556 bashio::log.fatal
@@ -563,13 +563,13 @@ function bashio::config.require.ssl() {
563563 if bashio::config.is_empty " ${keyfile} " ; then
564564 bashio::log.fatal
565565 bashio::log.fatal " SSL has been enabled using the '${key} ' option,"
566- bashio::log.fatal " this requires a SSL certificate key file which is"
566+ bashio::log.fatal " this requires an SSL certificate key file which is"
567567 bashio::log.fatal " configured using the '${keyfile} ' option in the"
568568 bashio::log.fatal " add-on configuration."
569569 bashio::log.fatal
570570 bashio::log.fatal " Unfortunately, the '${keyfile} ' option is empty."
571571 bashio::log.fatal
572- bashio::log.fatal " Consider configuring or getting a SSL certificate"
572+ bashio::log.fatal " Consider configuring or getting an SSL certificate"
573573 bashio::log.fatal " or setting the '${key} ' option to 'false' in case"
574574 bashio::log.fatal " you are not planning on using SSL with this add-on."
575575 bashio::log.fatal
@@ -582,18 +582,18 @@ function bashio::config.require.ssl() {
582582 if ! bashio::fs.file_exists " /ssl/$( bashio::config " ${certfile} " ) " ; then
583583 bashio::log.fatal
584584 bashio::log.fatal " SSL has been enabled using the '${key} ' option,"
585- bashio::log.fatal " this requires a SSL certificate file which is"
585+ bashio::log.fatal " this requires an SSL certificate file which is"
586586 bashio::log.fatal " configured using the '${certfile} ' option in the"
587587 bashio::log.fatal " add-on configuration."
588588 bashio::log.fatal
589589 bashio::log.fatal " Unfortunately, the file specified in the"
590- bashio::log.fatal " '${certfile} ' option does not exists ."
590+ bashio::log.fatal " '${certfile} ' option does not exist ."
591591 bashio::log.fatal
592592 bashio::log.fatal " Please ensure the certificate file exists and"
593593 bashio::log.fatal " is placed in the '/ssl/' directory."
594594 bashio::log.fatal
595595 bashio::log.fatal " In case you don't have SSL yet, consider getting"
596- bashio::log.fatal " a SSL certificate or setting the '${key} ' option"
596+ bashio::log.fatal " an SSL certificate or setting the '${key} ' option"
597597 bashio::log.fatal " to 'false' in case you are not planning on using"
598598 bashio::log.fatal " SSL with this add-on."
599599 bashio::log.fatal
@@ -606,18 +606,18 @@ function bashio::config.require.ssl() {
606606 if ! bashio::fs.file_exists " /ssl/$( bashio::config " ${keyfile} " ) " ; then
607607 bashio::log.fatal
608608 bashio::log.fatal " SSL has been enabled using the '${key} ' option,"
609- bashio::log.fatal " this requires a SSL certificate key file which is"
609+ bashio::log.fatal " this requires an SSL certificate key file which is"
610610 bashio::log.fatal " configured using the '${keyfile} ' option in the"
611611 bashio::log.fatal " add-on configuration."
612612 bashio::log.fatal
613613 bashio::log.fatal " Unfortunately, the file specified in the"
614- bashio::log.fatal " '${keyfile} ' option does not exists ."
614+ bashio::log.fatal " '${keyfile} ' option does not exist ."
615615 bashio::log.fatal
616616 bashio::log.fatal " Please ensure the certificate key file exists and"
617617 bashio::log.fatal " is placed in the '/ssl/' directory."
618618 bashio::log.fatal
619619 bashio::log.fatal " In case you don't have SSL yet, consider getting"
620- bashio::log.fatal " a SSL certificate or setting the '${key} ' option"
620+ bashio::log.fatal " an SSL certificate or setting the '${key} ' option"
621621 bashio::log.fatal " to 'false' in case you are not planning on using"
622622 bashio::log.fatal " SSL with this add-on."
623623 bashio::log.fatal
0 commit comments