#!/bin/bash
set -e

if [ "$1" = "purge" ] || [ "$1" = "remove" ]; then
    bash /usr/lib/monarx-protect/autodetect -u
fi