summaryrefslogtreecommitdiff
path: root/sysutils/pacman/files/pkg-deinstall.in
blob: 0c6269364ac197cb0a1c64e817a46168bdeb5901 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

case $2 in
POST-DEINSTALL)
	if find %%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 manually if it's no longer needed:"
		echo ""
		echo "    %%PACMAN_ROOT%%"
		echo "    %%PACMAN_ROOT%%/var/cache/pacman"
		echo "    %%PACMAN_ROOT%%/var/lib/pacman"
		echo ""
	fi
	;;
esac