#!/bin/sh
set -e

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

exit 0