#!/bin/sh
set -e

case "$1" in
    remove|purge)
        # Remove the directory if it exists
        if [ -d "/opt/painttool-sai2" ]; then
            rm -rf "/opt/painttool-sai2"
        fi
        ;;
esac

exit 0
