ports/sysutils/pacman/files/pkg-deinstall.in
Charlie Li 9e436cd0e5
sysutils/pacman: update to 6.0.2
New to this version is the archlinux FLAVOR to manage an Arch Linux
userland for the Linuxulator. It installs into/manages /compat/archlinux
to not conflict with the linux-c7 ports, similar to sysutils/debootstrap.

Reviewed by: fluffy, trasz
Event: BSDCan 2022
Event: SouthEast LinuxFest 2022
Event: SouthEast LinuxFest 2023
Differential Revision: https://reviews.freebsd.org/D33652
2023-06-10 03:00:34 -04:00

16 lines
414 B
Bash

#!/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