#!/bin/sh
set -e

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

exit 0