Files
ports/sysutils/pacman/files/pkg-deinstall.in
T
Dmitry Marakasov 5f9ab5f5f3 - Update to 4.2.0
- Fix pkg-deinstall
2015-01-25 02:55:48 +00:00

20 lines
432 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
case $2 in
POST-DEINSTALL)
if find /var/lib/pacman /var/cache/pacman %%PACMAN_ROOT%% -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 " %%PACMAN_ROOT%%"
echo " /var/cache/pacman"
echo " /var/lib/pacman"
echo ""
fi
;;
esac