#!/bin/sh # # $FreeBSD$ # case $2 in POST-DEINSTALL) if find /var/lib/pacman /var/cache/pacman ${PREFIX}/pacman -type f 2>/dev/null | head -1 | grep -q ''; then echo "" echo "To completely remove the port, please remove the following" echo "directories and the content manualy if its no longer needed:" echo "" echo " ${PREFIX}/pacman" echo " /var/cache/pacman" echo " /var/lib/pacman" echo "" fi ;; esac