diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-01-25 02:55:48 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-01-25 02:55:48 +0000 |
commit | 5f9ab5f5f35c7954d1f1e659cfe81dec15fb985f (patch) | |
tree | 87e3d65104502ae13ffb417952f6c11e46a56003 /sysutils/pacman/files | |
parent | d6ccebdcc51bf1bd80f7a594259289cb4c804c9b (diff) | |
download | ports-5f9ab5f5f35c7954d1f1e659cfe81dec15fb985f.tar.gz ports-5f9ab5f5f35c7954d1f1e659cfe81dec15fb985f.zip |
Notes
Diffstat (limited to 'sysutils/pacman/files')
-rw-r--r-- | sysutils/pacman/files/pkg-deinstall.in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sysutils/pacman/files/pkg-deinstall.in b/sysutils/pacman/files/pkg-deinstall.in new file mode 100644 index 000000000000..ea2c787b84a6 --- /dev/null +++ b/sysutils/pacman/files/pkg-deinstall.in @@ -0,0 +1,19 @@ +#!/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 |