| 1234567891011121314151617181920212223242526272829 | #!/usr/bin/env bashsource "${SNAP}/init"logger "Running post-refresh ${SNAP_NAME} (uuid: ${UUID})"logger "Running config test"set -eCC="${SNAP_DATA}/custom_components"CCT="${SNAP_DATA}/.custom_components"if [ -d "${CCT}" ]; then    if [ ! -d "${CC}" ]; then        mv "${CCT}" "${CC}"    fifi## if [ -d "${CC}" ]; then#     logger "Disabling custom components"#     mv "${CC}" "${CCT}"# fi#$SNAP/bin/hass --script check_config --config "${SNAP_DATA}"## if [ -d "${CC}" ]; then#     logger "Enabling custom components"#     mv "${CCT}" "${CC}"# fi## exit $RES
 |