#!/bin/sh # # $FreeBSD: head/games/kobodeluxe/files/pkg-deinstall.in 454856 2017-11-24 23:17:50Z dbaio $ [ "$2" != "POST-DEINSTALL" ] && exit 0 rmdir "%%SCOREDIR%%/kobo-deluxe/scores" 2>/dev/null rmdir "%%SCOREDIR%%/kobo-deluxe" 2>/dev/null rmdir "%%SCOREDIR%%" 2>/dev/null if [ -e "%%SCOREDIR%%" ]; then echo echo "To completely remove the port, please remove the following" echo "directory manually, if it's no longer needed:" echo echo " %%SCOREDIR%%" echo fi