#!bin/sh
set -xeu

rm --force --verbose ${COMPONENT_TARGET}/${COMPONENT_SENTINEL_PATH##*/}
snapctl stop --disable ${SNAP_INSTANCE_NAME}.component-monitor
find ${COMPONENT_TARGET} -mindepth 1 -delete
