1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/sysutils/epylog/files/pkg-deinstall.in
Andrey Slusar c557ae2d1b Variable CONF_FILES is changed to LOCAL_CONF_FILES.
PR:		ports/90457
Submitted by:	maintainer
Approved by:	sem(mentor)
2005-12-16 15:22:05 +00:00

10 lines
212 B
Bash

#!/bin/sh
[ "$2" != "DEINSTALL" ] && exit 0
for f in %%LOCAL_CONF_FILES%%; do
if cmp -s "${PKG_PREFIX}/etc/epylog/$f" "${PKG_PREFIX}/etc/epylog/$f.default"; then
rm -f "${PKG_PREFIX}/etc/epylog/$f"
fi
done