1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/security/amap/files/pkg-deinstall.in
Jean-Yves Lefort 2d0c4afee3 - Update to 5.0 [1]
- Install configuration files in ${PREFIX}/etc/amap, and preserve user
  modifications across updates
- Do not define PORTDOCS if NOPORTDOCS is defined
- Respect ${LOCALBASE}, ${PREFIX}, ${CC} and ${CFLAGS}
- Add USE_OPENSSL=yes

PR:		ports/81354 [1]
Submitted by:	maintainer [1]
2005-05-22 15:16:46 +00:00

10 lines
175 B
Bash

#!/bin/sh
[ "$2" != "DEINSTALL" ] && exit 0
for f in %%CONF_FILES%%; do
if cmp -s "%%CONF_DIR%%/$f" "%%CONF_DIR%%/$f.default"; then
rm -f "%%CONF_DIR%%/$f"
fi
done