disconnect-plug-components 189 B

12345678
  1. #!/bin/sh -e
  2. CC="${SNAP_DATA}/custom_components/hacs"
  3. logger "Removing ${SNAP_NAME} - ${CC}"
  4. rm -rf "${CC}"
  5. if [ $? -eq 0 ]; then
  6. logger "Removed $SNAP_DATA/custom_components/hacs"
  7. fi