#!/bin/sh
set -e

if [ "$1" = "purge" ]
then
  rm -rf /var/lib/matrix-eno-bot
  userdel -f matrix-eno-bot
fi
