#!/usr/bin/env bash

logger "Connect 'custom_components' (HACS) to ${SNAP_NAME}"
CC="${SNAP_DATA}/custom_components"

if ! [[ -d "${CC}" ]]; then
    logger "Creating dir ${CC}"
    mkdir "${CC}"
fi